<div dir="ltr"><div>Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 8:31 AM Klaus Braun <<a href="mailto:klaus.braun@geographie.uni-freiburg.de">klaus.braun@geographie.uni-freiburg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
on my SUSE box I compiled gdal 2.4.2 and 3.0.1 in the same way, enabling python<br>
bindings.<br>
<br>
When I use osr.CoordinateTransformation() in my python script to do a coordinate<br>
transformation from a point to EPSG 4326 the resulting coordinates are swaped if<br>
I use gdal 3.0.1 python bindings.<br>
<br>
Any idea what might be the problem in this case?<br>
<br>
Regards<br>
<br>
Klaus<br></blockquote><div><br></div><div>GDAL 3 has a big change for coordinate transformations, See</div><div><br></div><div> <a href="https://gdal.org/development/rfc/rfc73_proj6_wkt2_srsbarn.html#axis-order-issues">https://gdal.org/development/rfc/rfc73_proj6_wkt2_srsbarn.html#axis-order-issues</a></div><div><br></div><div>The gist of it is you need to call SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER) on your spatial reference objects to preserve the behavior seen in GDAL 2.4.</div><div><br></div></div></div>