We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07207e0 commit dabf1c7Copy full SHA for dabf1c7
src/server/services/wfs/qgswfsgetcapabilities.cpp
@@ -421,6 +421,10 @@ namespace QgsWfs
421
for ( const QString &wfsLayerId : wfsLayerIds )
422
{
423
QgsMapLayer *layer = project->mapLayer( wfsLayerId );
424
+ if ( !layer )
425
+ {
426
+ continue;
427
+ }
428
if ( layer->type() != QgsMapLayer::LayerType::VectorLayer )
429
430
continue;
src/server/services/wfs/qgswfsgetcapabilities_1_0_0.cpp
@@ -266,6 +266,10 @@ namespace QgsWfs
266
267
268
269
270
271
272
273
274
275
0 commit comments