Used in
REQUEST Servers
Image ArcMap Parent elements
REQUEST Syntax
<GET_RASTER_INFO | Attribute Description Table |
When using ArcMap Server: (r)layerid="string" (r)x="double" (r)y="double" dataframe="string"
When using Image Server: (r)layerid="string" (r)x="double" (r)y="double" >
<COORDSYS... />
</GET_RASTER_INFO >
|
(r): Attribute or child element is required.
|
Description
Returns the pixel value of an image at a given x,y coordinate location for the specified layer.
Restrictions
- Valid with Image and ArcMap Server only.
- GeoTIFF is not valid with Image Services with this request. However, this format is valid with ArcMap Image Services.
- The following formats do not work on ArcMap Image Services on Solaris and UNIX: CADRG, CIB, Erdas Imagine, GeoTIFF, MrSID and TIFF (multiband). This is not a restriction on Windows.
- This request is not valid on feature layers.
Notes
- See RASTER_INFO for response.
- If COORDSYS is not included as a child element, it is assumed that the coordinates used for GET_RASTER_INFO x and y are in the same coordinate system as the raster image. If COORDSYS is used in the request, the attributes are in the coordinate system defined by COORDSYS.
- If an x,y coordinate is out of range, an ERROR message is returned instead of RASTER_INFO.
Attribute Descriptions for GET_RASTER_INFO
Attribute | Usage |
---|
dataframe | Valid with ArcMap Server only. Dataframe image to use when requesting map. By default, the selected image is the default data frame in the ArcMap document. However, alternate data frames can be accessed using this attribute. |
layerid | ID of the layer to query. |
x | X-coordinate of selected point. |
y | Y-coordinate of selected point. |
Back to top Examples for GET_RASTER_INFO
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
<REQUEST>
<GET_RASTER_INFO x="136.333846" y="60.075385" layerid="0" >
<COORDSYS id="4326" />
</GET_RASTER_INFO>
</REQUEST>
</ARCXML> |
Back to top