Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add GML format in GetFeatureInfo requests
  • Loading branch information
Stéphane Brunner authored and mhugent committed Sep 12, 2013
1 parent 44aef47 commit 040e9d5
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 176 deletions.
2 changes: 1 addition & 1 deletion src/mapserver/qgshttprequesthandler.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 040e9d5

Please sign in to comment.