Changes between Version 6 and Version 7 of WKTRaster/SpecificationWorking03
- Timestamp:
- 02/20/10 09:21:17 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WKTRaster/SpecificationWorking03
v6 v7 39 39 '''ST_Count(raster, value) -> integer'''[[BR]] 40 40 41 '''ST_Resample(raster, pixelsize, method) -> raster'''41 '''ST_Resample(raster, method, originx, originy, pixelsizex, pixelsizey) -> raster''' 42 42 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 44 44 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. 45 53 46 54 '''ST_SelectByValue(raster|geometry, ‘expression’) -> same type as first argument'''[[BR]] … … 49 57 '''ST_MapAlgebra(raster|geometry, [raster|geometry,…] ‘mathematical expression’, ‘raster’ |’geometry’) -> raster/geometry''' 50 58 51 Variant 1: ST_MapAlgebra(raster|geometry, [raster|geometry,…] ‘mathematical expression’, ‘raster’ |’geometry’, originx, originy, pixelsizex, pixelsizey , rotation) -> raster/geometry59 Variant 1: ST_MapAlgebra(raster|geometry, [raster|geometry,…] ‘mathematical expression’, ‘raster’ |’geometry’, originx, originy, pixelsizex, pixelsizey) -> raster/geometry 52 60 53 61 Variant 2: ST_MapAlgebra(raster|geometry, [raster|geometry,…] 'mathematical expression', 'raster' |'geometry', integer) ->raster/geometry