File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1179,8 +1179,6 @@ int QgsWFSProvider::getFeaturesFromGML2( const QDomElement& wfsCollectionElement
1179
1179
QDomNode currentAttributeChild;
1180
1180
QDomElement currentAttributeElement;
1181
1181
QgsFeature* f = 0 ;
1182
- unsigned char * wkb = 0 ;
1183
- int wkbSize = 0 ;
1184
1182
mFeatureCount = 0 ;
1185
1183
1186
1184
for ( int i = 0 ; i < featureTypeNodeList.size (); ++i )
@@ -1219,7 +1217,7 @@ int QgsWFSProvider::getFeaturesFromGML2( const QDomElement& wfsCollectionElement
1219
1217
}
1220
1218
currentAttributeChild = currentAttributeChild.nextSibling ();
1221
1219
}
1222
- if ( wkb && wkbSize > 0 )
1220
+ if ( f-> geometry () )
1223
1221
{
1224
1222
// insert bbox and pointer to feature into search tree
1225
1223
mSpatialIndex ->insertFeature ( *f );
You can’t perform that action at this time.
0 commit comments