Skip to content

Commit c065736

Browse files
jef-nalexbruy
authored andcommittedMar 17, 2012
use GDAL_FIX_ESRI_WKT in QgsOgrProvider::crs (fixes #5066 with GDAL 1.9)
1 parent b0bfda3 commit c065736

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/providers/ogr/qgsogrprovider.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,6 +1856,8 @@ QgsCoordinateReferenceSystem QgsOgrProvider::crs()
18561856
}
18571857
}
18581858

1859+
CPLSetConfigOption( "GDAL_FIX_ESRI_WKT", "TOWGS84" ); // add towgs84 parameter
1860+
18591861
OGRSpatialReferenceH mySpatialRefSys = OGR_L_GetSpatialRef( ogrLayer );
18601862
if ( mySpatialRefSys )
18611863
{

0 commit comments

Comments
 (0)
Please sign in to comment.