29.03.2016, 20:48, Even Rouault kirjoitti:
Le mardi 29 mars 2016 17:35:26, Ari Jolma a écrit :
I want to write template functions like this:
template
void map(GDALRasterBand *b, mapper *mapper) {
...
This function would map the cell values of a band to new ones using some
logic that is coded w
Le mardi 29 mars 2016 17:35:26, Ari Jolma a écrit :
> I want to write template functions like this:
>
> template
> void map(GDALRasterBand *b, mapper *mapper) {
> ...
>
> This function would map the cell values of a band to new ones using some
> logic that is coded within the mapper object (and t
I want to write template functions like this:
template
void map(GDALRasterBand *b, mapper *mapper) {
...
This function would map the cell values of a band to new ones using some
logic that is coded within the mapper object (and the logic depends on
the cell_type).
I would like to catch error
Sorry I got one sample and it failed withe the -co PHOTOMETRIC=YCBCR on
grey TIF with 1 raster band.
Thanks
Gane
On Tue, Mar 29, 2016 at 4:50 PM, Gane R wrote:
> I am using gdalwarp withe following option to convert a tif to compressed
> TIF
>
> -co COMPRESS=JPEG -co JPEG_QUALITY=80 -co TILED=Y
I am using gdalwarp withe following option to convert a tif to compressed
TIF
-co COMPRESS=JPEG -co JPEG_QUALITY=80 -co TILED=YES -co PHOTOMETRIC=YCBCR
-co BLOCKYSIZE=512 -co BLOCKXSIZE=512
Will the PHOTOMETRIC option work on grey tif images. Unfortunately I don't
have such data set.
If any one