[OpenLayers-Dev] Order coordinates in GeoJSON

Steven Ottens steven at minst.net
Fri Mar 2 15:14:37 EST 2012


On Mar 2, 2012, at 9:02 PM, Peter Robins wrote:

> On 2 March 2012 19:27, Eric Lemoine <eric.lemoine at camptocamp.com> wrote:
>> Hi Steven. As far as I know the GeoJSON specs say nothing about coordinate
>> order. A xy option to the format would make sense to me.
> 
> http://geojson.org/geojson-spec.html#positions
> 
> "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)."

Thanks, I've always thought GeoJSON was a sane standard. And once again it proves itself ;)

No need for an xy option then.

Steven



More information about the Dev mailing list