Skip to content
Permalink
Browse files

Add application/geo+json format

  • Loading branch information
pblottiere committed Jan 28, 2019
1 parent f841681 commit 80f33343f625a04df9872c79a1a604a91971dcdf
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/server/services/wms/qgswmsparameters.cpp
@@ -758,7 +758,8 @@ namespace QgsWms
f = Format::TEXT;
else if ( fStr.startsWith( QLatin1String( "application/vnd.ogc.gml" ), Qt::CaseInsensitive ) )
f = Format::GML;
else if ( fStr.startsWith( QLatin1String( "application/json" ), Qt::CaseInsensitive ) )
else if ( fStr.startsWith( QLatin1String( "application/json" ), Qt::CaseInsensitive )
|| fStr.startsWith( QLatin1String( "application/geo+json" ), Qt::CaseInsensitive ) )
f = Format::JSON;
else
f = Format::NONE;

0 comments on commit 80f3334

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