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 authored and alexbruy committed Mar 17, 2012
1 parent b0bfda3 commit c065736b71f856c22814d2f29f248b88e442ae6e
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/ogr/qgsogrprovider.cpp
@@ -1856,6 +1856,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 c065736

Please sign in to comment.