Skip to content
Permalink
Browse files

WFS: support all GetFeature output formats for all layers

  • Loading branch information
mhugent committed Feb 12, 2020
1 parent 0fd99f3 commit 03b3bc721875d6f3c3d5cee4e46fd1000b7ea037
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/server/services/wfs/qgswfsgetcapabilities.cpp
@@ -579,14 +579,6 @@ namespace QgsWfs

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
QgsRectangle layerExtent = layer->extent();
//transform the layers native CRS into WGS84

0 comments on commit 03b3bc7

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