Changeset 5997 for spike/wktraster

Show
Ignore:
Timestamp:
09/21/10 06:28:57 (20 months ago)
Author:
pracine
Message:

-Modified documentation for one raster version of ST_MapAlgebra

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • spike/wktraster/scripts/plpgsql/st_mapalgebra.sql

    r5996 r5997  
    1111--                by "rast1" in the expression.  
    1212-- 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" 
    1415-- pixeltype text - Pixeltype assigned to the resulting raster. Expression 
    1516--                  results are truncated to this type. Default to the  
    1617--                  pixeltype of the first raster. 
    17  
    18 -- Further enhancements: 
    19 -- -Make the function stronger for NULL, empty, hasnoband and bandisnodata rasters. 
    2018-------------------------------------------------------------------- 
    2119CREATE OR REPLACE FUNCTION ST_MapAlgebra(rast raster, band integer, expression text, nodatavalueexpr text, pixeltype text)