Skip to content

Commit 80f3334

Browse files
committedJan 28, 2019
Add application/geo+json format
1 parent f841681 commit 80f3334

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/server/services/wms/qgswmsparameters.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,8 @@ namespace QgsWms
758758
f = Format::TEXT;
759759
else if ( fStr.startsWith( QLatin1String( "application/vnd.ogc.gml" ), Qt::CaseInsensitive ) )
760760
f = Format::GML;
761-
else if ( fStr.startsWith( QLatin1String( "application/json" ), Qt::CaseInsensitive ) )
761+
else if ( fStr.startsWith( QLatin1String( "application/json" ), Qt::CaseInsensitive )
762+
|| fStr.startsWith( QLatin1String( "application/geo+json" ), Qt::CaseInsensitive ) )
762763
f = Format::JSON;
763764
else
764765
f = Format::NONE;

0 commit comments

Comments
 (0)
Please sign in to comment.