Changes between Version 162 and Version 163 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
Oct 28, 2011, 8:45:44 AM (12 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v162 v163  
    411411'''ST_BurnToRaster(rast, geometry[, value, expression, nodata1expr, nodata2expr, nodatanodataexpr]) -> raster'''
    412412
    413  * Burn a raster to the band of an existing raster.
     413 * Burn a geometry in the band of an existing raster.
    414414 
    415415 * No geoferencing metadata have to be provided since the ones of the provided raster are used.
    416416
    417  * This function is mostly different from the ST_AsRaster(geometry) by the fact that it must provide some options to take into account the existing pixel values when burning the new value associated with the geometry.
     417 * This function is mainly different from the ST_AsRaster(geometry) by the fact that it must provide some options to take into account the existing pixel values when burning the new value associated with the geometry.
     418
     419 * This function could also be called ST_SetValues(). However does not just "set" values. It set them in a more flexible way possibly taking existing values into account. This is why "Burn" might be a better name. Very open to other name propositions...
    418420
    419421 * It should be implemented as some wrappers around ST_MapAlgebra(raster, band, ST_AsRaster(geometry, val, raster, "CROP"), 'expression', 'nodata1expr', 'nodata2expr', 'nodatanodataexpr').