Get data(values) from RasterLayer arcgis js

Viewed 18

I have mapserver which contains tif files (raster layer).This files contains temperature data . I want to know how to get data from this raster layer. I look a lot of arcgis js api samples ,but none of them show how to read data from raster layer.

1 Answers

ArcGIS JS API support WCS (Web Coverage Service), OGC standard, which is supported by every map server including MapServer.

In that way, you will use a WCSLayer, wich has several properties and methods to handle information of bands an pixels.

ArcGIS JS API - WCSLayer

MapServer - WCS

Related