Skip to content
Permalink
Browse files

wms server: include geometry type of layer in GetProjectSettings

  • Loading branch information
jef-n committed May 6, 2015
1 parent 4490948 commit f9f333b8a589a9d6df42b85136268d312501a28a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/server/qgsserverprojectparser.cpp
@@ -734,6 +734,10 @@ void QgsServerProjectParser::addLayerProjectSettings( QDomElement& layerElem, QD
}
//displayfield
layerElem.setAttribute( "displayField", displayField );

//geometry type
layerElem.setAttribute( "geometryType", QGis::featureType( vLayer->wkbType() ) );

layerElem.appendChild( attributesElem );
}
}

0 comments on commit f9f333b

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