Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow nodes with no position (lat,lon) data #11

Open
mojoaxel opened this issue Feb 4, 2014 · 0 comments
Open

allow nodes with no position (lat,lon) data #11

mojoaxel opened this issue Feb 4, 2014 · 0 comments

Comments

@mojoaxel
Copy link
Contributor

mojoaxel commented Feb 4, 2014

I understand that it makes no sence for an map-applikation to render nodes with no location data (lat, lon).
But the libremap-api is not a map applikation. It provides only an API for a collection of wifi nodes.
In the future I want to create simple statistic applikations that show e.g. the count of all online and offline nodes of a specific community. Also graphs like the ffmap-d3 are a nice example what could be done using the libremap-api as backend. For this tasks the position of nodes is not needed at all.

We should change the API in future versions to allow nodes with no position but instead change the map-specific views to simply ignore such nodes.

Old

lat: (required, number) latitude in degrees, range [-90,90], EPSG:3857.
lon: (required, number) longitude in degrees, range [-180,180], EPSG:3857.
elev: (optional, number) elevation in meters above mean sea level.

New

location: { (optional, object)
    lat: (required, number) latitude in degrees, range [-90,90], EPSG:3857.
    lon: (required, number) longitude in degrees, range [-180,180], EPSG:3857.
    elev: (optional, number) elevation in meters above mean sea level.
}

Is this something for version 2.0? What do you thing guys?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant