Skip to content

Commit 90093e1

Browse files
author
jef
committed
fix #2270
git-svn-id: http://svn.osgeo.org/qgis/trunk@12414 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7222e3c commit 90093e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/ogr/qgsogrprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ QgsOgrProvider::QgsOgrProvider( QString const & uri )
121121
QgsDebugMsg( "mLayerIndex: " + QString::number( mLayerIndex ) );
122122
QgsDebugMsg( "mLayerName: " + mLayerName );
123123
QgsDebugMsg( "mSubsetString: " + mSubsetString );
124-
CPLSetConfigOption( "OGR_ORGANIZE_POLYGONS", "SKIP" );
124+
CPLSetConfigOption( "OGR_ORGANIZE_POLYGONS", "ONLY_CCW" ); // "SKIP" returns MULTIPOLYGONs for multiringed POLYGONs
125125
CPLPushErrorHandler( CPLQuietErrorHandler );
126126
ogrDataSource = OGROpen( QFile::encodeName( mFilePath ).constData(), TRUE, &ogrDriver );
127127
CPLPopErrorHandler();

0 commit comments

Comments
 (0)