Skip to content
Permalink
Browse files

WFS QGIS Server OnlineResource is an attribute in GetCapabilities for…

… DCPType
  • Loading branch information
rldhont committed Nov 18, 2012
1 parent 4381913 commit 339834139a6ae15713b6bfaa0530db2d698c0f9a
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/mapserver/qgswfsserver.cpp
@@ -179,11 +179,8 @@ QDomDocument QgsWFSServer::getCapabilities()
//only Get supported for the moment
QDomElement getElement = doc.createElement( "Get"/*wfs:Get*/ );
httpElement.appendChild( getElement );
QDomElement olResourceElement = doc.createElement( "OnlineResource"/*wfs:OnlineResource*/ );
olResourceElement.setAttribute( "xlink:type", "simple" );
requestUrl.truncate( requestUrl.indexOf( "?" ) + 1 );
olResourceElement.setAttribute( "xlink:href", hrefString );
getElement.appendChild( olResourceElement );
getElement.setAttribute( "OnlineResource", hrefString );

//wfs:DescribeFeatureType
QDomElement describeFeatureTypeElement = doc.createElement( "DescribeFeatureType"/*wfs:DescribeFeatureType*/ );

0 comments on commit 3398341

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