Skip to content

Commit

Permalink
KML: set OAMS_TRADITIONAL_GIS_ORDER for SRS returned on returned layers
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jun 5, 2019
1 parent 289b796 commit 38c1e38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gdal/ogr/ogrsf_frmts/kml/ogrkmllayer.cpp
Original file line number Diff line number Diff line change
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 38c1e38

Please sign in to comment.