[OpenLayers-Dev] Changing the order of Lon Lat

Devdatta Tengshe devdatta at tengshe.in
Wed Jun 18 01:41:58 PDT 2014

Can you tell us why you want to do this?

The GeoJSON specifications <http://geojson.org/geojson-spec.html#positions>
mention that *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).*

Hence what you want won't be standard compliant GeoJSON.


On Wed, Jun 18, 2014 at 10:59 AM, Anuruddha Premalal <
anuruddhapremalal at gmail.com> wrote:

> Hi,
> I'm using the geoJson feature of openlayers I'm receiving the coordinates
> as longitude and lattitude pairs. Is it possible to change the order to
> lattitude, longitude?
> Regards,
> --
> *Anuruddha Premalala(STMIEEE,STMACM)Mobile : +94710461070 E-mail :
> anuruddhapremalal at gmail.com <anuruddhapremalal at gmail.com>Sri Lanka.*
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20140618/46418086/attachment.html>

More information about the Dev mailing list