Changes between Version 6 and Version 7 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
Feb 20, 2010, 9:21:17 AM (14 years ago)
Author:
dzwarg
Comment:

Added ST_Resample notes

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v6 v7  
    3939'''ST_Count(raster, value) -> integer'''[[BR]]
    4040
    41 '''ST_Resample(raster, pixelsize, method) -> raster'''
     41'''ST_Resample(raster, method, originx, originy, pixelsizex, pixelsizey) -> raster'''
    4242
    43 Recompute a raster in order to change its pixel size and/or the position of its upper left corner.
     43 Variant 1: ST_Resample(raster, method, raster) -> raster
    4444
     45 Recompute a raster in order to change its pixel size and/or the position of its upper left corner.
     46
     47 The second parameter is the resampling method performed when computing new pixel values:
     48  1) 'NEAREST NEIGHBOR'[[BR]]
     49  2) 'LINEAR'[[BR]]
     50  3) 'BICUBIC'
     51
     52 The 3rd or 3rd-6th parameters define the pixel size of the resampling operation. For the 3rd parameter variant, the pixel size is taken from the pixel size of the raster parameter. For the 3rd-6th parameter variant, the pixel origin and dimensions are explicitly defined.
    4553
    4654'''ST_SelectByValue(raster|geometry, ‘expression’) -> same type as first argument'''[[BR]]
     
    4957'''ST_MapAlgebra(raster|geometry, [raster|geometry,…] ‘mathematical expression’, ‘raster’ |’geometry’) -> raster/geometry'''
    5058
    51  Variant 1: ST_MapAlgebra(raster|geometry, [raster|geometry,…] ‘mathematical expression’, ‘raster’ |’geometry’, originx, originy, pixelsizex, pixelsizey, rotation ) -> raster/geometry
     59 Variant 1: ST_MapAlgebra(raster|geometry, [raster|geometry,…] ‘mathematical expression’, ‘raster’ |’geometry’, originx, originy, pixelsizex, pixelsizey) -> raster/geometry
    5260
    5361 Variant 2: ST_MapAlgebra(raster|geometry, [raster|geometry,…] 'mathematical expression', 'raster' |'geometry', integer) ->raster/geometry