<div dir="ltr"><div><div>Can you tell us why you want to do this?<br><br>The<a href="http://geojson.org/geojson-spec.html#positions"> GeoJSON specifications</a> mention that <i>The order of elements must follow x, y, z order (easting, northing, altitude for coordinates in a projected coordinate reference system, or <u>longitude, latitude</u>, altitude for coordinates in a geographic coordinate reference system).</i><br>
<br>Hence what you want won't be standard compliant GeoJSON.<br><br></div><div><br></div><div><br></div>Regards,<br></div>Devdatta <br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jun 18, 2014 at 10:59 AM, Anuruddha Premalal <span dir="ltr"><<a href="mailto:anuruddhapremalal@gmail.com" target="_blank">anuruddhapremalal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi,<div><br></div><div>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?<br clear="all">



<div><br></div><div><br></div><div>Regards,</div></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr"><i style="font-family:'comic sans ms',sans-serif"><b>Anuruddha Premalala</b>(STMIEEE,STMACM)<div>
Mobile : +94710461070</div>

<div>E-mail : <a href="mailto:anuruddhapremalal@gmail.com" target="_blank">anuruddhapremalal@gmail.com</a></div>Sri Lanka.</i>
</div>
</font></span></div>
<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br></blockquote></div><br></div>