Raster Query
Feature Description
Query raster values or pixel values at the cursor position.
- When querying raster data, search results include: data source, dataset, X coordinate, Y coordinate, raster row, raster column, raster value, slope value, and aspect value where the raster value is located.
- When querying image data, search results include: data source, dataset, X coordinate, Y coordinate, image row, image column, band value, and color value where the pixel value is located.
Feature Entry
Imagery Tab->Map Operation Group->Raster Query.
Steps
Raster query includes raster query and raster query settings. Taking raster data query as an example, the detailed steps are as follows:
- Raster Query
- Click the Imagery Tab->Map Operation Group->Raster Query button. Move the cursor over the map, and real-time data information will be displayed at the cursor tip, including data source, dataset, GCS, raster row/column numbers, and raster values.
- Click the desired raster value location. A point will be added on the map (e.g., 1,2,3 in the figure), and raster value information for this point will be displayed in the output window.
- Right-click to end the query operation without clearing query points on the map. Pressing ESC will end the query operation and simultaneously clear all query points on the map.
- Click the Imagery Tab->Map Operation Group->Raster Query button. Move the cursor over the map, and real-time data information will be displayed at the cursor tip, including data source, dataset, GCS, raster row/column numbers, and raster values.
- Raster Query Settings
Click the drop-down button of Raster Query and select Raster Query Settings to configure whether to display raster information, slope, aspect, etc. Available when raster data exists in the map.
- Display Raster Information: When checked, search results will show raster row, column, and value information for the cursor cell. Uncheck to hide these details.
- Display Slope and Aspect: When checked, search results will show slope and aspect values for the cursor cell. Uncheck to hide these details.
- Elevation Scale Factor: Required when elevation units (Z-axis) differ from X/Y coordinate units. The elevation value should be multiplied by this factor to ensure unit consistency. Example: If X/Y units are meters and Z units are feet (1 foot=0.3048 meters), set scale factor to 0.3048. Setting to 1 means no scaling.
Recommended practice: Convert map and data to projected coordinate system (units: meters) before raster query. For geographic coordinate systems, specify an appropriate elevation scale factor. When X/Y units are degrees and Z units are meters, use the following Z-factors:
Latitude Z-factor 0 0.00000898 10 0.00000912 20 0.00000956 30 0.00001036 40 0.00001171 50 0.00001395 60 0.00001792 70 0.00002619 80 0.00005156
Related Topics