Raster Thumbnail
- URL:http://<rastercatalogitem-url>/info/thumbnail
- Required Capability:Catalog
- Version Introduced:10.1
Description
License:As of 10.5, you must license your ArcGIS Server as an ArcGIS Image Server in order to use this resource.
The raster thumbnail resource returns a thumbnail for a single raster catalog item.
This resource streams the thumbnail contents to the client.
Four optional request parameters were added at 10.5: width, height, adjustAspectRatio, and native.
Request parameters
|
Parameter |
Details |
|---|---|
| width |
Description: The width of the thumbnail in pixels. Syntax: <width> Example: width=200 |
| height |
Description: The height of the thumbnail in pixels. Syntax: <height> Example: height=200 |
| adjustAspectRatio |
Description: This parameter indicates whether or not to adjust the aspect ratio. By default, adjustAspectRatio is false. When set to true, the thumbnail will honor the width/height ratio of the source image, and the thumbnail may be padded with NoData pixels (and the response thumbnail will be a PNG file). Values: true | false |
| native | Description: This indicates that your thumbnail is a view of the native image, without any rotation, transformation, or projections. The default is false. Values: true | false |
Example usage
Example 1: Returns raster thumbnail for raster ID 8:
JSON response syntax
N/A
JSON response example
N/A