Skip to content

Commit

Permalink
Add Post capabilities to DescribeFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Nov 18, 2012
1 parent 4827091 commit 4381913
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mapserver/qgswfsserver.cpp
Expand Up @@ -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*/ );
Expand Down

0 comments on commit 4381913

Please sign in to comment.