mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Flag geometry as derived attribute in feature info
git-svn-id: http://svn.osgeo.org/qgis/trunk@14279 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
cdf7d44469
commit
da2cfb8cdc
@ -962,6 +962,7 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer, const QgsPo
|
||||
QDomElement geometryElement = infoDocument.createElement( "Attribute" );
|
||||
geometryElement.setAttribute( "name", "geometry" );
|
||||
geometryElement.setAttribute( "value", geom->exportToWkt() );
|
||||
geometryElement.setAttribute( "type", "derived" );
|
||||
featureElement.appendChild( geometryElement );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user