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 c4bf35c commit ba210d0Copy full SHA for ba210d0
src/providers/wfs/qgswfsshareddata.cpp
@@ -249,7 +249,7 @@ bool QgsWFSSharedData::createCache()
249
// do it manually
250
bool useReservedNames = cacheFields.lookupField( "ogc_fid" ) >= 0;
251
#if GDAL_VERSION_MAJOR < 2
252
- if ( cacheFields.fieldNameIndex( "geometry" ) >= 0 )
+ if ( cacheFields.lookupField( "geometry" ) >= 0 )
253
useReservedNames = true;
254
#endif
255
if ( !useReservedNames )
0 commit comments