From 03b3bc721875d6f3c3d5cee4e46fd1000b7ea037 Mon Sep 17 00:00:00 2001 From: Marco Hugentobler Date: Wed, 12 Feb 2020 10:54:05 +0100 Subject: [PATCH] WFS: support all GetFeature output formats for all layers --- src/server/services/wfs/qgswfsgetcapabilities.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/server/services/wfs/qgswfsgetcapabilities.cpp b/src/server/services/wfs/qgswfsgetcapabilities.cpp index 5bacee7660b4..4602117ff2e9 100644 --- a/src/server/services/wfs/qgswfsgetcapabilities.cpp +++ b/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