ffnord / ffmap-backend

THIS PROJECT DOESN'T HAVE A MAINTAINER!
Other
20 stars 56 forks source link

Export GeoData in GeoJSON Format #17

Open sargon opened 10 years ago

sargon commented 10 years ago

We should export geo informations in GeoJSON format so we can exchange the Map representation in the frontend to any GeoJSON compatible and have a way to import the dataset in any GeoJSON Framework, e.g. GoogleEarth, OSM.

AiyionPrime commented 8 years ago

As far as I know, GeoJSON is not (yet) specified/capable to hold an altitude? Every single example I found was in a two-dimensional space.

Maybe one should specify this first

nemesifier commented 8 years ago

Of course GeoJSON supports altitude. From the GeoJSON spec:

"A position is represented by an array of numbers. There must be at least two elements, and may be more. The order of elements must follow x, y, z order (easting, northing, altitude for coordinates in a projected coordinate reference system, or longitude, latitude, altitude for coordinates in a geographic coordinate reference system)."

AiyionPrime commented 8 years ago

My fault. I like the idea.