Changes between Version 31 and Version 32 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
01/05/11 14:16:17 (14 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v31 v32  
    1515----
    1616
    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.''' ==
    1818 
    1919'''ST_bytea(raster, integer) -> raster''' -- the integer parameters is the band number of the raster.[[BR]]
     
    123123'''Open Question:''' What if we want to export only the first two band of a three band layer?
    124124
    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...)
     125Maybe we need a ST_RasterFromBands(band1, band2, etc...) to reconstitute a multiband raster from multiple sources (having the same width, height, pixelsize, etc...)
    126126
    127127mloskot: 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.
     
    131131
    132132----
    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
     136Use 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.''' ==
    134140 
    135141