mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
use GDAL_FIX_ESRI_WKT in QgsOgrProvider::crs (fixes #5066 with GDAL 1.9)
This commit is contained in:
parent
5e2f96cd3a
commit
2f135c1d63
@ -2100,6 +2100,8 @@ QgsCoordinateReferenceSystem QgsOgrProvider::crs()
|
||||
}
|
||||
}
|
||||
|
||||
CPLSetConfigOption( "GDAL_FIX_ESRI_WKT", "TOWGS84" ); // add towgs84 parameter
|
||||
|
||||
OGRSpatialReferenceH mySpatialRefSys = OGR_L_GetSpatialRef( ogrLayer );
|
||||
if ( mySpatialRefSys )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user