Used in
REQUEST Servers
Image Parent elements
REQUEST Syntax
Description
Returns the pixel value of an image at a given x,y coordinate location for the specified layer.
Restrictions
- 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 |
---|
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