[gdal-dev] Troubles in coord conversions with GDAL+proj6

Even Rouault even.rouault at spatialys.com
Sun Feb 24 15:27:13 PST 2019


On dimanche 24 février 2019 23:11:37 CET Joaquim Manuel Freire Luís wrote:
> |>> and the other is that in this later case it outputs lat,long instead of
> |>> lon,lat
|>
> |>
> |>That one is expected. SetWellKnownGeogCS( "WGS84" ) now returns a SRS
> |>with lat, lon order. You can force "GIS" friendly order by calling
> |>oSRS.SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER);
> 
> 
> Hmm, lat,longs are bad 😊

That's what the authority (EPSG) mandates unfortunately

> When did that change? (SetAxisMappingStrategy was introduced in GDAL 2.5
> only)

See https://trac.osgeo.org/gdal/wiki/rfc73_proj6_wkt2_srsbarn

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list