Skip to content
Permalink
Browse files Browse the repository at this point in the history
KML: set OAMS_TRADITIONAL_GIS_ORDER for SRS returned on returned layers
  • Loading branch information
rouault committed Jun 5, 2019
1 parent 542afaa commit 27b9bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gdal/ogr/ogrsf_frmts/kml/ogrkmllayer.cpp
Expand Up @@ -79,6 +79,7 @@ OGRKMLLayer::OGRKMLLayer( const char * pszName,
if( poSRSIn != nullptr )
{
poSRS_->SetWellKnownGeogCS( "WGS84" );
poSRS_->SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER);
if( !poSRS_->IsSame(poSRSIn) )
{
poCT_ = OGRCreateCoordinateTransformation( poSRSIn, poSRS_ );
Expand Down

0 comments on commit 27b9bf6

Please sign in to comment.