Skip to content
Permalink
Browse files
use GDAL_FIX_ESRI_WKT in QgsOgrProvider::crs (fixes #5066 with GDAL 1.9)
  • Loading branch information
jef-n committed Mar 9, 2012
1 parent 5e2f96c commit 2f135c1d630f0f96422547c31a05c38d41997470
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/ogr/qgsogrprovider.cpp
@@ -2100,6 +2100,8 @@ QgsCoordinateReferenceSystem QgsOgrProvider::crs()
}
}

CPLSetConfigOption( "GDAL_FIX_ESRI_WKT", "TOWGS84" ); // add towgs84 parameter

OGRSpatialReferenceH mySpatialRefSys = OGR_L_GetSpatialRef( ogrLayer );
if ( mySpatialRefSys )
{

0 comments on commit 2f135c1

Please sign in to comment.