Changeset 5997 for spike/wktraster
- Timestamp:
- 09/21/10 06:28:57 (20 months ago)
- Files:
-
- 1 modified
-
spike/wktraster/scripts/plpgsql/st_mapalgebra.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spike/wktraster/scripts/plpgsql/st_mapalgebra.sql
r5996 r5997 11 11 -- by "rast1" in the expression. 12 12 -- band integer - Band number of the raster to be evaluated. Default to 1. 13 -- expression text - SQL expression. Ex.: "rast1 + 2 * rast2" 13 -- expression text - SQL expression to apply to with value pixels. Ex.: "rast + 2" 14 -- nodatavalueexpr text - SQL expression to apply to nodata value pixels. Ex.: "2" 14 15 -- pixeltype text - Pixeltype assigned to the resulting raster. Expression 15 16 -- results are truncated to this type. Default to the 16 17 -- pixeltype of the first raster. 17 18 -- Further enhancements:19 -- -Make the function stronger for NULL, empty, hasnoband and bandisnodata rasters.20 18 -------------------------------------------------------------------- 21 19 CREATE OR REPLACE FUNCTION ST_MapAlgebra(rast raster, band integer, expression text, nodatavalueexpr text, pixeltype text)
