Hi,peter,thanks for reply. I have thousand of rasters,and i want to publish them to web as basemap by arcserver(http service,display single one each time),the picture I upload is the metadata that i Organize.Obviously,it's not wise to add rasters in one map document or one raster one map document.So,i use mosaic datasets to manager these rasters. I follow your suggestion and create a 7band 32bit mosaic,publish the mosaic to imageservice.I decide to send raster function from client,then i got a problem, the js api do not append RenderingRule to url,do i miss some key parameter? var rasterFunction = new RasterFunction(); rasterFunction.functionName = "Stretch"; var arguments = {}; arguments.StretchType= 3; arguments.NumberOfStandardDeviations = 50;// parseFloat(dojo.byId('txtSD').value); // arguments.NumberOfStandardDeviations = parseFloat(dom.byId('nameDev').value); arguments.Gamma =[1.25, 2 ,3.95]; arguments.Statistics = [ [0.2, 222.46, 99.35, 1.64], [5.56, 100.345, 45.4, 3.96], [1000, 352.37, 172.284, 2] ]; rasterFunction.functionArguments = arguments; rasterFunction.variableName = "Raster"; imageServiceLayer.setRenderingRule(rasterFunction, false); imageServiceLayer.refresh(); Thanks!
... View more