Skip to content

Commit

Permalink
Add json format in gGetCapabilities document
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Jan 28, 2019
1 parent 63645be commit c55cbd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -479,6 +479,8 @@ namespace QgsWms
appendFormat( elem, QStringLiteral( "text/xml" ) );
appendFormat( elem, QStringLiteral( "application/vnd.ogc.gml" ) );
appendFormat( elem, QStringLiteral( "application/vnd.ogc.gml/3.1.1" ) );
appendFormat( elem, QStringLiteral( "application/json" ) );
appendFormat( elem, QStringLiteral( "application/geo+json" ) );
elem.appendChild( dcpTypeElem.cloneNode().toElement() ); //this is the same as for 'GetCapabilities'
requestElem.appendChild( elem );

Expand Down

0 comments on commit c55cbd2

Please sign in to comment.