Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixes spatial operator in WFS GetCapabilities doc
- Loading branch information
Showing
with
1 addition
and
2 deletions.
-
+1
−2
src/server/services/wfs/qgswfsgetcapabilities.cpp
|
@@ -111,8 +111,7 @@ namespace QgsWfs |
|
|
for ( const QString &spatialOperator : spatialOperators ) |
|
|
{ |
|
|
QDomElement spatialOperatorElem = doc.createElement( QStringLiteral( "ogc:SpatialOperator" ) ); |
|
|
QDomText spatialOperatorText = doc.createTextNode( spatialOperator ); |
|
|
spatialOperatorElem.appendChild( spatialOperatorText ); |
|
|
spatialOperatorElem.setAttribute( QStringLiteral( "name" ), spatialOperator ); |
|
|
spatialOperatorsElem.appendChild( spatialOperatorElem ); |
|
|
} |
|
|
spatialCapabilitiesElement.appendChild( spatialOperatorsElem ); |
|
|