[SCM] qgis branch, master, updated. a2ee769957385f4e084c5e8b6ba178a8c877d1db
Juergen E. Fischer
jef at norbit.de
Tue Mar 20 13:43:22 UTC 2012
The following commit has been merged in the master branch:
commit 2f135c1d630f0f96422547c31a05c38d41997470
Author: Juergen E. Fischer <jef at norbit.de>
Date: Fri Mar 9 17:28:06 2012 +0100
use GDAL_FIX_ESRI_WKT in QgsOgrProvider::crs (fixes #5066 with GDAL 1.9)
diff --git a/src/providers/ogr/qgsogrprovider.cpp b/src/providers/ogr/qgsogrprovider.cpp
index e428cae..b1054a0 100644
--- a/src/providers/ogr/qgsogrprovider.cpp
+++ b/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 )
{
--
The Quantum GIS in Debian project
More information about the Pkg-grass-devel
mailing list