Skip to content

Commit

Permalink
wms server: include geometry type of layer in GetProjectSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 6, 2015
1 parent 4490948 commit f9f333b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/qgsserverprojectparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}
Expand Down

0 comments on commit f9f333b

Please sign in to comment.