Skip to content
Permalink
Browse files

Merge pull request #7491 from pblottiere/server_wfs_service_version

[server] Adds ServiceTypeVersion element in WFS 1.1.0 GetCapabilities doc
  • Loading branch information
rldhont committed Aug 1, 2018
2 parents bbc3330 + d3670de commit ada8933697825536d99c7c586812dfa0b5b3586d
@@ -187,8 +187,8 @@ namespace QgsWfs
//Service type version
QDomElement serviceTypeVersionElem = doc.createElement( QStringLiteral( "ows:ServiceTypeVersion" ) );
QDomText serviceTypeVersionText = doc.createTextNode( "1.1.0" );
serviceTypeElem.appendChild( serviceTypeText );
serviceElem.appendChild( serviceTypeElem );
serviceTypeVersionElem.appendChild( serviceTypeVersionText );
serviceElem.appendChild( serviceTypeVersionElem );

QDomElement feesElem = doc.createElement( QStringLiteral( "ows:Fees" ) );
QDomText feesText = doc.createTextNode( "None" );
@@ -6,6 +6,7 @@ Content-Type: text/xml; charset=utf-8
<ows:Title>QGIS TestProject</ows:Title>
<ows:Abstract><![CDATA[Some UTF8 text èòù]]></ows:Abstract>
<ows:ServiceType>WFS</ows:ServiceType>
<ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion>
<ows:Fees>None</ows:Fees>
<ows:AccessConstraints>None</ows:AccessConstraints>
</ows:ServiceIdentification>

0 comments on commit ada8933

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