Skip to content
Permalink
Browse files

Merge pull request #7950 from pblottiere/server_wfs_if_capabilities

[server] Fixes Filter_Capabilities element in WFS GetCapabilities document
  • Loading branch information
pblottiere committed Sep 19, 2018
2 parents 420bcc9 + f65deeb commit d64303fdda770f575cb1ac24f1828c016da48ce7
@@ -153,6 +153,11 @@ namespace QgsWfs
}
scalarCapabilitiesElement.appendChild( comparisonOperatorsElem );

QDomElement idCapabilitiesElement = doc.createElement( QStringLiteral( "ogc:Id_Capabilities" ) );
QDomElement fidElem = doc.createElement( QStringLiteral( "ogc:FID" ) );
idCapabilitiesElement.appendChild( fidElem );
filterCapabilitiesElement.appendChild( idCapabilitiesElement );

return doc;

}
@@ -139,5 +139,8 @@ Content-Type: text/xml; charset=utf-8
<ogc:ComparisonOperator>Between</ogc:ComparisonOperator>
</ogc:ComparisonOperators>
</ogc:Scalar_Capabilities>
<ogc:Id_Capabilities>
<ogc:FID/>
</ogc:Id_Capabilities>
</ogc:Filter_Capabilities>
</WFS_Capabilities>

0 comments on commit d64303f

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