Skip to content

Commit bff8f33

Browse files
author
jef
committedDec 11, 2009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/ogr/qgsogrprovider.cpp

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.