[gdal-dev] gdalwarp ignoring scale and offset

2018-12-10 Thread Erik Heinz
Hello everyone, I like to use geotiff files with UInt16 raster bands and scale/offset metadata for saving cm-resolution elevation data in an efficient way. In principle, this works well with gdal. As of version 2.3.2, however, gdalwarp seems to silently drop the offset and scale values. I'm incl

[gdal-dev] Problem reading JP2

2018-03-06 Thread Erik Heinz
Hi everyone, recently I downloaded a free 1:100 map of France from http://professionnels.ign.fr/. The map comes in tiles supposed to be in JPEG 2000 Part 1 format. "file" utility says "JPEG 2000 Part 1 (JP2)" and the file name ending is .jp2. My GDAL (version 2.2.3) was compiled against a p

[gdal-dev] RGB2PCT without dithering

2017-04-18 Thread Erik Heinz
Hello everyone, I would like to know if it's possible within GDAL to convert an RGB raster image with a small number of colors exactly to an indexed colortable image. This would imply to avoid dithering. The only function I found is GDALDitherRGB2PCT() which always does dithering. Thank you,