Skip to content

Commit

Permalink
Add application/geo+json format
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Jan 28, 2019
1 parent f841681 commit 80f3334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/services/wms/qgswmsparameters.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 80f3334

Please sign in to comment.