[gdal-dev] Pre-RFC for OGRSpatialReference use in GDAL and changes in how to deal with axis order issues

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Wed Dec 19 04:46:26 PST 2018


Even Rouault-2 wrote
> ICreateLayer() when receiving a OGRSpatialReference* may decide to change
> the 
> axis mapping strategy. That is: if it receives a OGRSpatialReference with 
> AUTHORITY_COMPLIANT order, it may decide to switch to
> TRADITIONAL_GIS_ORDER 
> and GetSpatialRef()::GetDataAxisToSRSAxisMapping() will reflect that.
> Tools 
> like ogr2ogr will need to do the geometry axis swapping in that case

Does this guarantee that it is impossible or at least pretty difficult to
create for example crazy shapefiles with flipped axis and rotated geometries
even if user tries to force that with AUTHORITY_COMPLIANT mode switch?

-Jukka Rahkonen-




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list