Re: [gdal-dev] Creating Geotiff is slow

2020-06-16 Thread Thomas Coquet
Thank you Even for your prompt answer, -co NBITS=16 solved my problem! Thomas Le mar. 16 juin 2020 à 17:37, Even Rouault a écrit : > > I am puzzled by this behavior... Is there something wrong with my GDAL > > > settings ? > > > Is there a way to speed up the GeoTIFF creation ? Why is it faster

Re: [gdal-dev] Creating Geotiff is slow

2020-06-16 Thread Even Rouault
> I am puzzled by this behavior... Is there something wrong with my GDAL > settings ? > Is there a way to speed up the GeoTIFF creation ? Why is it faster using > python ? There might be several factors: - if with rasterio you read completely the image into memory, and then write it, parallel d

[gdal-dev] Creating Geotiff is slow

2020-06-16 Thread Thomas Coquet
Hello, I am trying to convert a full JPEG2000 image (Sentinel 2) to a GeoTIFF (1x1 pixels). My config is the following: GDAL 3.1.0, released 2020/05/03, freshly compiled on my computer (Ubuntu 18.04). I use the following env variables: OPJ_NUM_THREADS=8 GDAL_NUM_THREADS=1 GDAL_CACHEMAX=