Changes between Version 31 and Version 32 of WKTRaster/SpecificationWorking03
- Timestamp:
- 01/05/11 14:16:17 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WKTRaster/SpecificationWorking03
v31 v32 15 15 ---- 16 16 17 == '''Objective FV.01 - Being able to return a JPEG, a TIFF or a PNG.''' ==17 == '''Objective FV.01 - Being able to return a JPEG, a TIFF, a PNG or any image format supported by GDAL.''' == 18 18 19 19 '''ST_bytea(raster, integer) -> raster''' -- the integer parameters is the band number of the raster.[[BR]] … … 123 123 '''Open Question:''' What if we want to export only the first two band of a three band layer? 124 124 125 Maybe we need a ST_RasterFromBands(band1, band2,etc...) to reconstitute a multiband raster from multiple sources (having the same width, height, pixelsize, etc...)125 Maybe we need a ST_RasterFromBands(band1, band2, etc...) to reconstitute a multiband raster from multiple sources (having the same width, height, pixelsize, etc...) 126 126 127 127 mloskot: or ST_RasterFromBands(bands) where bands is ARRAY[int]. For instance, ST_RasterFromBands(ARRAY[1,3]) will burn new raster from 1 and 3 bands of input raster. … … 131 131 132 132 ---- 133 == '''Objective FV.02 - Being able to intersect vector and raster to produce raster.''' == 133 134 '''ST_AsGDALImage(raster, band int, type text, options text) -> bytea''' 135 136 Use GDAL to convert the raster into one of the format suported by GDAL. 137 138 139 ----== '''Objective FV.02 - Being able to intersect vector and raster to produce raster.''' == 134 140 135 141