Skip to content

Commit

Permalink
WFS: support all GetFeature output formats for all layers
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Feb 12, 2020
1 parent 0fd99f3 commit 03b3bc7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/server/services/wfs/qgswfsgetcapabilities.cpp
Expand Up @@ -579,14 +579,6 @@ namespace QgsWfs


layerElem.appendChild( operationsElement ); layerElem.appendChild( operationsElement );


//create OutputFormats element
QDomElement outputFormatsElem = doc.createElement( QStringLiteral( "OutputFormats" ) );
QDomElement outputFormatElem = doc.createElement( QStringLiteral( "Format" ) );
QDomText outputFormatText = doc.createTextNode( QStringLiteral( "text/xml; subtype=gml/3.1.1" ) );
outputFormatElem.appendChild( outputFormatText );
outputFormatsElem.appendChild( outputFormatElem );
layerElem.appendChild( outputFormatsElem );

//create WGS84BoundingBox //create WGS84BoundingBox
QgsRectangle layerExtent = layer->extent(); QgsRectangle layerExtent = layer->extent();
//transform the layers native CRS into WGS84 //transform the layers native CRS into WGS84
Expand Down

0 comments on commit 03b3bc7

Please sign in to comment.