Skip to content
Permalink
Browse files

Add Post capabilities to DescribeFeature

  • Loading branch information
rldhont committed Nov 18, 2012
1 parent 4827091 commit 43819130c92b57da5131afe9829641ae3d30af4a
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/mapserver/qgswfsserver.cpp
@@ -194,6 +194,9 @@ QDomDocument QgsWFSServer::getCapabilities()
schemaDescriptionLanguageElement.appendChild( xmlSchemaElement );
QDomElement describeFeatureTypeDhcTypeElement = dcpTypeElement.cloneNode().toElement();//this is the same as for 'GetCapabilities'
describeFeatureTypeElement.appendChild( describeFeatureTypeDhcTypeElement );
QDomElement describeFeatureTypeDhcTypePostElement = dcpTypeElement.cloneNode().toElement();//this is the same as for 'GetCapabilities'
describeFeatureTypeDhcTypePostElement.firstChild().firstChild().toElement().setTagName( "Post" );
describeFeatureTypeElement.appendChild( describeFeatureTypeDhcTypePostElement );

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

0 comments on commit 4381913

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