Skip to content
Permalink
Browse files
Flag geometry as derived attribute in feature info
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14279 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Sep 24, 2010
1 parent 924d03c commit 411c36b240e93d867475a3e72bfe7ee6f6d559a1
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mapserver/qgswmsserver.cpp
@@ -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 );
}
}

0 comments on commit 411c36b

Please sign in to comment.