We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 118482b commit bff8f33Copy full SHA for bff8f33
src/providers/ogr/qgsogrprovider.cpp
@@ -121,7 +121,7 @@ QgsOgrProvider::QgsOgrProvider( QString const & uri )
121
QgsDebugMsg( "mLayerIndex: " + QString::number( mLayerIndex ) );
122
QgsDebugMsg( "mLayerName: " + mLayerName );
123
QgsDebugMsg( "mSubsetString: " + mSubsetString );
124
- CPLSetConfigOption( "OGR_ORGANIZE_POLYGONS", "SKIP" );
+ CPLSetConfigOption( "OGR_ORGANIZE_POLYGONS", "ONLY_CCW" ); // "SKIP" returns MULTIPOLYGONs for multiringed POLYGONs
125
CPLPushErrorHandler( CPLQuietErrorHandler );
126
ogrDataSource = OGROpen( QFile::encodeName( mFilePath ).constData(), TRUE, &ogrDriver );
127
CPLPopErrorHandler();
0 commit comments