I have a set of raster layers that cover the same place, over different years. I want to display it on my website using the timeslider so that I can clearly view the changes between rasters over different years. However, the example given by ESRI site is based on featurelayer, and I have a raster layer. How can I make the raster layer time-aware?
Asked
Active
Viewed 292 times
-2
-
1Please provide a [mcve] – happymacarts Jan 25 '17 at 08:17
1 Answers
0
If you currently have multiple raster layers, you will need to convert them to a single layer that also happens to be time-aware.
Esri Support wrote a blog post about this -- back in 2011, but the principles should still work -- and a GIS StackExchange question covers publication of time-aware datasets as an image service. To summarize their workflow:
- Create a new mosaic dataset or raster catalog. Add the individual rasters in.
- Add a new field, of type date (e.g.
year
). - Populate
year
with values. - Enable time on the layer, and publish it as an image service.
The Esri JavaScript API example will help with implementation, once you've got everything configured and published.