integrityapplications / pinz

geospatial visualization of near real-time data in a browser
Apache License 2.0
2 stars 1 forks source link

How should the observable schema handle elevation? #28

Open nreese opened 11 years ago

nreese commented 11 years ago

Some of our data has elevation. Where should elevation go in the observable schema?

Check out http://wiki.geojson.org/RFC-2. This states that "The order of elements follows x, y, z order (or longitude, latitude, elevation for coordinates in decimal degrees)."

Does this seem correct? Will mongo geojson support this or be confused by this?

Nathan

virtualandy commented 11 years ago

Looks like mongo doesn't support it: https://blog.codecentric.de/en/2013/03/mongodb-geospatial-indexing-search-geojson-point-linestring-polygon/ and https://jira.mongodb.org/plugins/servlet/mobile#issue/SERVER-9220 So we'll have to stick it in a property I guess.