Skip to content

Commit 4381913

Browse files
committed
Add Post capabilities to DescribeFeature
1 parent 4827091 commit 4381913

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mapserver/qgswfsserver.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ QDomDocument QgsWFSServer::getCapabilities()
194194
schemaDescriptionLanguageElement.appendChild( xmlSchemaElement );
195195
QDomElement describeFeatureTypeDhcTypeElement = dcpTypeElement.cloneNode().toElement();//this is the same as for 'GetCapabilities'
196196
describeFeatureTypeElement.appendChild( describeFeatureTypeDhcTypeElement );
197+
QDomElement describeFeatureTypeDhcTypePostElement = dcpTypeElement.cloneNode().toElement();//this is the same as for 'GetCapabilities'
198+
describeFeatureTypeDhcTypePostElement.firstChild().firstChild().toElement().setTagName( "Post" );
199+
describeFeatureTypeElement.appendChild( describeFeatureTypeDhcTypePostElement );
197200

198201
//wfs:GetFeature
199202
QDomElement getFeatureElement = doc.createElement( "GetFeature"/*wfs:GetFeature*/ );

0 commit comments

Comments
 (0)