IdentifyTask on Raster layer with Polygon

750
2
09-20-2012 11:42 AM
RobertDolormente
New Contributor
Documentation doesn't go into detail on this but I'm wondering how the IdentifyTask works when you execute the task with a polygon against a raster layer. Does it return an average of the "Pixel Value" or return the value of the center point of the polygon? Please help. Thanks!
0 Kudos
2 Replies
derekswingley1
Frequent Contributor
Are you talking about doing an Identify against and Image Server ImageService?
0 Kudos
BenStewart
New Contributor III
Bumping this question as I am having the same issue. I am NOT looking to query an Image Service. I want to run an IdentifyTask on a raster layer in a DynamicMapService using a polygon as input. Is this possible? The code sample I am using returns only one record. I assume it is the first or last coordinate of the ring, but I really want to get an array of all the values in the raster.
0 Kudos