Skip to content

Commit 040e9d5

Browse files
Stéphane Brunnermhugent
authored andcommittedSep 12, 2013
Add GML format in GetFeatureInfo requests
1 parent 44aef47 commit 040e9d5

File tree

3 files changed

+201
-176
lines changed

3 files changed

+201
-176
lines changed
 

‎src/mapserver/qgshttprequesthandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void QgsHttpRequestHandler::sendGetFeatureInfoResponse( const QDomDocument& info
162162
QByteArray ba;
163163
QgsDebugMsg( "Info format is:" + infoFormat );
164164

165-
if ( infoFormat == "text/xml" )
165+
if ( infoFormat == "text/xml" || infoFormat.startsWith("application/vnd.ogc.gml") )
166166
{
167167
ba = infoDoc.toByteArray();
168168
}

0 commit comments

Comments
 (0)
Please sign in to comment.