Image server raster DEM, hillshade download JS code?

Discussion created by mravichandran on Jul 11, 2013
Latest reply on Jul 12, 2013 by JGravois-esristaff
dear Readers,

thank you for taking the time to read this article.  Our issue at hand:

0. this is our 1st javascript project (any after 1999) and with esri api too - till now we had been developing with SL 5.x and ESRI SL 3.x.

1. we have DEMs from different sources housed on our servers for internal consumptions: of varying resolutions (30, 10, 5, 3, and 1 meter) resolutions and lidar data that has helped in creating finer resolutions.

2. we have housed it on Image server (version 10.11), and we have created image services on image server for DEM and their derivatives such as hillshade, aspect, slope in units and percentage for internal users.

Is there sample code for us to extract raster data from image server by providing an area of interest using Javascript API?

Do we need to have house raster data in a different format to efficiently extract it using JS API?