Skip to content
Permalink
Browse files

Fixes spatial operator in WFS GetCapabilities doc

  • Loading branch information
pblottiere committed Jul 6, 2018
1 parent 466992e commit 0a76d4969c9700b2128f13520936b2729b5190a4
Showing with 1 addition and 2 deletions.
  1. +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 );

0 comments on commit 0a76d49

Please sign in to comment.
You can’t perform that action at this time.