Skip to content
Permalink
Browse files

Add GML format in GetFeatureInfo requests

  • Loading branch information
Stéphane Brunner authored and mhugent committed Sep 8, 2013
1 parent 44aef47 commit 040e9d54cb4a08a19ee47226ead6beee5888f4ce
Showing with 201 additions and 176 deletions.
  1. +1 −1 src/mapserver/qgshttprequesthandler.cpp
  2. +176 −167 src/mapserver/qgswmsserver.cpp
  3. +24 −8 src/mapserver/qgswmsserver.h
@@ -162,7 +162,7 @@ void QgsHttpRequestHandler::sendGetFeatureInfoResponse( const QDomDocument& info
QByteArray ba;
QgsDebugMsg( "Info format is:" + infoFormat );

if ( infoFormat == "text/xml" )
if ( infoFormat == "text/xml" || infoFormat.startsWith("application/vnd.ogc.gml") )
{
ba = infoDoc.toByteArray();
}

0 comments on commit 040e9d5

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