Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-16 Thread Joaquim Luis
Thanks, did not know that. But since both products were originally 2 bytes ints, the mix can also be scaled to 2 bytes without loss of original precision. EUDEM is an "hybrid product based on SRTM and ASTER GDEM data fused by a weighted averaging approach" Le 2014-04-15 19:55, Joaquim Luis a

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread Jean-Roc Morreale
EUDEM is an "hybrid product based on SRTM and ASTER GDEM data fused by a weighted averaging approach" Le 2014-04-15 19:55, Joaquim Luis a écrit : but the ASTER grids have lower real resolution than the SRTM (despite being distributed as 1 arc sec grids) and the later are originally int16 , so s

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread Even Rouault
Le lundi 14 avril 2014 16:16:09, Nicole Stoffels a écrit : > Dear Gdal-List, > > I have a large ASTER file (downloaded from > http://www.eea.europa.eu/data-and-maps/data/eu-dem#tab-european-data) in > the GeoTIFF-format. It is compressed with LZW. What I want to do is: > > 1. unpack it > 2. seper

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread Joaquim Luis
On 15-04-2014 18:43, MORREALE Jean Roc wrote: If you're talking about the EAA EU_DEM then PNG isn't a good solution as the whole raster as to be loaded to access a subset of it, a compressed TIFF with TILED=YES would be better. Also, you should not try to scale it down to byte as it would only

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread MORREALE Jean Roc
If you're talking about the EAA EU_DEM then PNG isn't a good solution as the whole raster as to be loaded to access a subset of it, a compressed TIFF with TILED=YES would be better. Also, you should not try to scale it down to byte as it would only 255 values, if I remember well the original d

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread Chaitanya kumar CH
Nicole, You should be able to perform those operations from qgis too. Crop it to your extents, scale the pixel values and save as PNG. -- Best regards, Chaitanya Kumar CH On 15-Apr-2014 8:21 pm, "Nicole Stoffels" wrote: > Thanks Chaitanya! > > >> The problem is reading the source file itself. GD

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread Nicole Stoffels
Thanks Chaitanya! The problem is reading the source file itself. GDAL is unable to find any valid pixels. Check if you are using the latest GDAL binaries. Use "gdalinfo -version". I just installed the latest gdal-version (1.10.1). But it did not solve my problems. I still get the same error

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread Chaitanya kumar CH
Nicole, The problem is reading the source file itself. GDAL is unable to find any valid pixels. Check if you are using the latest GDAL binaries. Use "gdalinfo -version". Use qgis to view the input and output. GIMP can't handle anything except basic pixel types. The -mm option should find some vali

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-15 Thread Nicole Stoffels
Thank you both for your answers. I have applied your suggestions. Making a single command works but does not change the result. Concerning the compression, I used LZW instead of NONE. However, it also does not make any difference. I also changed the srcwin parameters. I do not get any errors

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-14 Thread Etienne Tourigny
On Mon, Apr 14, 2014 at 11:16 AM, Nicole Stoffels wrote: > Dear Gdal-List, > > I have a large ASTER file (downloaded from http://www.eea.europa.eu/data- > and-maps/data/eu-dem#tab-european-data) in the GeoTIFF-format. It is > compressed with LZW. What I want to do is: > > 1. unpack it > 2. sepera

Re: [gdal-dev] Problems with large ASTER GeoTIFF

2014-04-14 Thread Jean-Roc Morreale
Hi, You can do all these operation in one command : gdal_translate -of PNG -srcwin xoff yoff xsize ysize "input.tif" "output.png" Are you sure of your scrwin parameters ? Le 2014-04-14 16:16, Nicole Stoffels a écrit : Dear Gdal-List, I have a large ASTER file (downloaded from http://www.ee

[gdal-dev] Problems with large ASTER GeoTIFF

2014-04-14 Thread Nicole Stoffels
Dear Gdal-List, I have a large ASTER file (downloaded from http://www.eea.europa.eu/data-and-maps/data/eu-dem#tab-european-data) in the GeoTIFF-format. It is compressed with LZW. What I want to do is: 1. unpack it 2. seperate a smaller region from it 3. convert this regional GeoTIFF to a PNG