AnsweredAssumed Answered

Filtering raster dataset in webapp

Question asked by daitam on Jun 26, 2013
Latest reply on Nov 7, 2013 by yangliu2209
I have around 1000 rasters (b&w tiffs) and most of them overlay each other. At this moment, I'm holding them in mosaic dataset and I want them to be displayed in my javascript webapp. I am able to load it as Dynamic or Image service layer and it loads all the rasters at once. In screenshot below, mosaic's attribute table has field "Name" in which names of all the rasters are held (all names are unique to only one raster). In my webapp, I want to dynamically show only one raster by specifying its name.

Part of mosaic:

In arcmap I can use layer's definition query to select only particular raster (screenshot below).

Filtered by definition query:

What would be the appropriate approach to have dataset filtered in webapp?