Solved! Go to Solution.
Nadeem,
If you publish your image as part of a map service you can use the identify tool to return pixel values:
http://www.arcgis.com/home/item.html?id=39cf66d58c234279ba728c50461a1a89
This advise has been given before in this post:
http://forums.arcgis.com/threads/67208-kernel-density-on-raster-image-using-flex-API-or-geoprocessin...
Are you having difficulty with the process, if so please explain
Regards
Anthony
Once you get it configured to use your layers instead of the default in the identifyWidget.xml, you may have issues with raster data.
I had to set <fields all="true" /> in the identifyWidget.xml for my raster layer in order to get the results.
In case this help,
R_
Nadeem,
Have you added your layer as a basemap or operational layer? If it is a basemap make sure you have changed the tag called excludebasemaps to false
Regards
Anthony
Nadeem,
I have published elevation data in the exact same way in which you are publishing your data. I found that although the alias in the REST endpoint for the pixel value says Value it actually returns as 'Pixel value' so the layers tag looks like this:
<layer>
<name>DTED2</name>
<fields>
<field alias="Height" name="Pixel Value" />
</fields>
.......
</layer>
Are your field names an exact match to the Alias field in the REST endpoint?
Is your service publicly available so we can look at it
Regards
Anthony