On Friday, March 2, 2012, Steven M. Ottens <[email protected]> wrote: > Hi all, > > The coordinate-order has always been a source of confusion and IIRC nowadays the recommended order is 'Latitude, Longitude'. However OpenLayers by default expects 'Longitude, Latitude'. The GML format recognises this and provides a 'xy' parameter to swap the order if necessary. > > The GeoJSON format, however, does not. I ran into this problem because I'm using a WFS and WPS which according to the specs should return 'Latitude, Longitude'. Since GeoJSON is so much easier to use than GML, I was wondering if adding the xy parameter to the GeoJSON format is desired.
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. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com
_______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
