- URL:
- https://<imageservice-url>/file
- Methods:
GET- Required Capability:
- Catalog, Download
- Version Introduced:
- 10.0
Description
The Raster File resource represents a single raw raster file. The id required to request the file can be obtained using the Download Rasters operation.
This resource streams the file contents to the client.
Request parameters
| Parameter | Details |
|---|---|
(Required) | Description: The ID of the raster file. This ID is obtained using the Download Rasters operation. Example: Suppose the Download Rasters operation returned the following response: You can download the second file in this response by specifying its |
(Required) | Description: The object ID of the raster item. This ID is obtained using the Download Rasters operation. This is required if the source raster is a GRID, WCS, or geodatabase raster. Example: You can download the fourth raster from the example response by specifying its |
Example usage
Example 1: Access the raster file resource for ID: https://organization.example.com/1n2w13w.jpg.
https
Example 2: Access a geodatabase raster resource.
https