Skip to content
Permalink
Browse files

WMS 1.3.0 compliance: use the reserved word 'None' if no fees

  • Loading branch information
mhugent authored and rldhont committed Dec 13, 2016
1 parent 02d70fa commit 34969b5861250508a99994f656bfde581cdfd245
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsserverprojectparser.cpp
@@ -595,7 +595,7 @@ void QgsServerProjectParser::serviceCapabilities( QDomElement& parentElement, QD
//Fees
QDomElement feesElem = propertiesElement.firstChildElement( "WMSFees" );
QDomElement wmsFeesElem = doc.createElement( "Fees" );
QDomText wmsFeesText = doc.createTextNode( "conditions unknown" ); // default value if access conditions are unknown
QDomText wmsFeesText = doc.createTextNode( "None" ); // default value if access conditions are unknown
if ( !feesElem.isNull() && !feesElem.text().isEmpty() )
{
wmsFeesText = doc.createTextNode( feesElem.text() );

0 comments on commit 34969b5

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