Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Flag geometry as derived attribute in feature info
git-svn-id: http://svn.osgeo.org/qgis/trunk@14279 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Sep 24, 2010
1 parent cdf7d44 commit da2cfb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgswmsserver.cpp
Expand Up @@ -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 );
}
}
Expand Down

0 comments on commit da2cfb8

Please sign in to comment.