Changes between Version 2 and Version 3 of RasterQuery
- Timestamp:
- Jan 29, 2009, 12:02:37 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RasterQuery
v2 v3 5 5 == General Approach == 6 6 7 Raster query support is setup to return a set of request result "shapes" for each pixel matching the query. In MapServer CGI, normal template substitution is done. In !MapScript the normal mechanisms for reading a query result can be applied.7 Raster query support is setup to return a set of request result "shapes" for each pixel matching the query. In !MapServer CGI, normal template substitution is done. In !MapScript the normal mechanisms for reading a query result can be applied. 8 8 9 9 Currently !QueryByPoint (with single or multiple modes), !QueryByRect and !QueryByShape are supported. Care should be taken to avoid providing a large query area (selecting alot of pixels) as each selected pixel requires over 100 bytes of memory for temporary caching. The RASTER_QUERY_MAX_RESULT PROCESSING item can be used to restrict the maximum number of query results that will be returned. The default is one million which would take on the order of 100MB of RAM. … … 64 64 == Working Notes == 65 65 66 * Note that WMS GetFeatureInfo requests work against raster layers!66 * Note that WMS !GetFeatureInfo requests work against raster layers! 67 67 * Currently scaling is not applied to non-eight bit values in before computing class or color. Thus class, red, green and blue results may be a little or alot wrong in some circumstances. See 68 68 * The _msQueryByIndex(), msQueryByIndexAdd(), msQueryByAttributes() and msQueryByFeatures() are not supported for rasters. I don't really understand what they are or what they do.