[OpenLayers-Dev] Order coordinates in GeoJSON

Eric Lemoine eric.lemoine at camptocamp.com
Fri Mar 2 15:27:46 EST 2012


On Fri, Mar 2, 2012 at 9:02 PM, Peter Robins
<openlayers at peterrobins.co.uk> 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)."

I had missed it. Thanks for correcting Peter.



-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list