Can ArcGIS Server 10.1 getFeatureInfo return the geometry?

2374
0
05-26-2014 08:58 AM
JohnO_Toole
New Contributor
Using GeoServer I can make a WMS getFeatureInfo request using the application/vnd.ogc.gml info_format and it returns the full GML of the feature, including the geometry. This is really useful as I can then use this GML in the browser to highlight features.

Example geoserver request:
http:///geoserver/wms?
QUERY_LAYERS=Counties&
STYLES=&
SERVICE=WMS&
VERSION=1.1.1&
REQUEST=GetFeatureInfo&
BBOX=718387,733714,719188,733943&
FEATURE_COUNT=10&
HEIGHT=481&
WIDTH=1680&
FORMAT=image/jpeg&
INFO_FORMAT=application/vnd.ogc.gml&
SRS=EPSG:2157&
X=283&
Y=222

However when I run this against an ArcGIS Server 10.1 WMS the result doesn't include the geometry.
I know there are ways of customising an ArcGIS Server 10.1 getFeatureInfo response (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005300000228000000), but I don't see any way of getting it to return the geometry.

I've tried the same with all the ArcGIS formats included in the GetCapabilities, but none of them return the geometry coordinates, they just give the geometry type. E.g. the GeoJson gives "GEOMETRY": "Polygon"

Is it possible to get ArcGIS Server 10.1 getFeatureInfo to return the geometry coordinates?

Thanks,
John
Tags (2)
0 Kudos
0 Replies