diff --git a/src/providers/wms/qgswmscapabilities.cpp b/src/providers/wms/qgswmscapabilities.cpp index 6c535b1270c8..8097cff502b8 100644 --- a/src/providers/wms/qgswmscapabilities.cpp +++ b/src/providers/wms/qgswmscapabilities.cpp @@ -534,6 +534,8 @@ bool QgsWmsCapabilities::parseResponse( const QByteArray &response, QgsWmsParser format = QgsRaster::IdentifyFormatFeature; else if ( f == QLatin1String( "application/geojson" ) ) format = QgsRaster::IdentifyFormatFeature; + else if ( f == QLatin1String( "application/geo+json" ) ) + format = QgsRaster::IdentifyFormatFeature; else if ( f.contains( QLatin1String( "gml" ), Qt::CaseInsensitive ) ) format = QgsRaster::IdentifyFormatFeature; else if ( f == QLatin1String( "text/xml" ) ) @@ -2009,6 +2011,8 @@ void QgsWmsCapabilities::parseWMTSContents( const QDomElement &element ) fmt = QgsRaster::IdentifyFormatFeature; else if ( format == QLatin1String( "application/geojson" ) ) fmt = QgsRaster::IdentifyFormatFeature; + else if ( format == QLatin1String( "application/geo+json" ) ) + fmt = QgsRaster::IdentifyFormatFeature; else { QgsDebugMsg( QStringLiteral( "Unsupported featureInfoUrl format: %1" ).arg( format ) ); @@ -2262,6 +2266,8 @@ void QgsWmsCapabilities::parseWMTSContents( const QDomElement &element ) fmt = QgsRaster::IdentifyFormatFeature; else if ( format == QLatin1String( "application/geojson" ) ) fmt = QgsRaster::IdentifyFormatFeature; + else if ( format == QLatin1String( "application/geo+json" ) ) + fmt = QgsRaster::IdentifyFormatFeature; else { QgsDebugMsg( QStringLiteral( "Unsupported featureInfoUrl format: %1" ).arg( format ) );