Is it possible to encode a multi-band raster using LERC tiles generated by ArcGIS Server 10.3?
I currently use the Composite Bands raster function to combine three rasters (16 bit unsigned integer, 4 bit integer, and 32 bit float). These are combined in a mosaic dataset.
I can successfully share this (Share as Image Service
) without caching the data. When I connect to the server in ArcMap and Identify
the image service, I get all three raster values for the location of interest. I then modify the service properties however, selecting Caching >> Using tiles from Cache, Update cache manually
and Caching >> Advanced Settings >> tile format: LERC, Create tiles on demand
.
I can view the tiles in the example viewer (source here, my implementation here). However, when I log the results to the console, I'm only seeing values from the first raster (ranging from 15000 to 17000).
Looking at the LERC documentation, they do suggest that multiple bands are possible:
One more comment about multiple bands. You can either store each band into its own Lerc byte blob which allows you to access / decode each band individually. Lerc also allows to stack bands together into one single Lerc byte blob. This can be useful if the bands are always used together anyway.
Is it possible to implement this using ArcGIS server out of the box? Or do I need to create tiles for three image services, then combine them in the browser?