mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
WFS QGIS Server OnlineResource is an attribute in GetCapabilities for DCPType
This commit is contained in:
parent
43819130c9
commit
339834139a
@ -179,11 +179,8 @@ QDomDocument QgsWFSServer::getCapabilities()
|
|||||||
//only Get supported for the moment
|
//only Get supported for the moment
|
||||||
QDomElement getElement = doc.createElement( "Get"/*wfs:Get*/ );
|
QDomElement getElement = doc.createElement( "Get"/*wfs:Get*/ );
|
||||||
httpElement.appendChild( getElement );
|
httpElement.appendChild( getElement );
|
||||||
QDomElement olResourceElement = doc.createElement( "OnlineResource"/*wfs:OnlineResource*/ );
|
|
||||||
olResourceElement.setAttribute( "xlink:type", "simple" );
|
|
||||||
requestUrl.truncate( requestUrl.indexOf( "?" ) + 1 );
|
requestUrl.truncate( requestUrl.indexOf( "?" ) + 1 );
|
||||||
olResourceElement.setAttribute( "xlink:href", hrefString );
|
getElement.setAttribute( "OnlineResource", hrefString );
|
||||||
getElement.appendChild( olResourceElement );
|
|
||||||
|
|
||||||
//wfs:DescribeFeatureType
|
//wfs:DescribeFeatureType
|
||||||
QDomElement describeFeatureTypeElement = doc.createElement( "DescribeFeatureType"/*wfs:DescribeFeatureType*/ );
|
QDomElement describeFeatureTypeElement = doc.createElement( "DescribeFeatureType"/*wfs:DescribeFeatureType*/ );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user