An ArcGIS for Server image service published from a mosaic dataset defaults to a black or white color ramp when the image is stretched in ArcGIS Online or Portal for ArcGIS.
Last Published: December 4, 2015ArcGIS for Server
Bug ID Number
July 20, 2015
July 28, 2020
ArcGIS for Server
Operating System Version
7.0 64 Bit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
This is a known limitation. When user-defined stretch is specified from the ArcGIS Online map viewer, a stretch function is used and thus generates a new legend. The workaround for this issue is provided in the Workaround section.
1. Add a dataset to ArcMap and use the layer's symbology tab to configure a proper stretch and color ramp.2. On the Symbology tab, save the renderer as a template.3. In the Catalog window, go to the mosaic dataset's property page, and add the mosaic dataset to the Processing templates list.4. Publish.5. Select the template in ArcGIS Online map viewer.