Image Service GenerateServiceInfo method

Generates the new image service info as if a given rendering rule is applied to the target image service.


GenerateServiceInfo(RenderingRule RenderingRule)





The rendering rule to be applied to the target image service.


Return Value


An ImageServiceInfo object.




This method is used together with GetImage to unpack the returned binary image data. When requesting an image with a rendering rule, the original service information, obtained using GetServiceInfo, may change once the raster function and renderer are applied to target service, e.g. pixel type, number of bands, and etc, depending the type of functions and renderers applied. The returned binary image from GetImage is formatted according to the new image service info.