Re: [gdal-dev] GDAL 1.8.0 and MrSid no-data values

2011-05-16 Thread Oyvind Idland
Hi, The file I'm using is actually MG2, using only 3 bands. Note, thats its the same file I used for testing in 1.7.x aswell. - Oyvind On Fri, May 13, 2011 at 4:08 PM, Kirk McKelvey kmckel...@lizardtech.comwrote: Is this with MG3 or MG4 files? MG4 uses an alpha channel instead of nodata,

Re: [gdal-dev] GDAL build problems under Linux debian x86_64

2011-05-16 Thread Antonio Valentino
Hi Josh, Il giorno Mon, 16 May 2011 15:07:05 +0800 josh.v...@csiro.au ha scritto: Hi, I'm currently trying to build gdal trunk (rev 22377) on an amd64 Linux (Debian) box and I keep getting an error whenever I try to run 'make'. See below for the output of make (./configure returned no

[gdal-dev] Re: How to get the ENVISAT N1 Main Processing parameters

2011-05-16 Thread Knut-Frode Dagestad
Hi RSyaoxin and Antonio, I share your interest in these metadata. In addition to the MPH and SPH metadata in ASCII-format, Envisat files contain a lot of metadata in binary form, e.g. for ASAR: http://envisat.esa.int/handbooks/asar/CNTR6-6.htm#eph.asar.asardf.asarrec It would probably be too

R: RE: [gdal-dev] GDAL build problems under Linux debian x86_64

2011-05-16 Thread sigfr...@tiscali.it
Hi all, also setting the CONFIGURE_SHELL variable before running configure worked for me: CONFIGURE_SHELL=/bin/bash export CONFIGURE_SHELL ./configure --with-pg=/usr/bin/pg_config ... Best regards Sig Messaggio originale Da: josh.v...@csiro.au Data: 16/05/2011 10.00 A:

Re: RE: [gdal-dev] GDAL build problems under Linux debian x86_64

2011-05-16 Thread Goo Creations
Hi I still have the problem Ubuntun 10.04. I've tried the above solutions without any sucess. Any Ubuntu users have a solution? Chris On Mon, May 16, 2011 at 10:28 AM, sigfr...@tiscali.it sigfr...@tiscali.itwrote: Hi all, also setting the CONFIGURE_SHELL variable before running configure

R: Re: RE: [gdal-dev] GDAL build problems under Linux debian x86_64

2011-05-16 Thread sigfr...@tiscali.it
Hi Chris, I too have Ubuntu 10.04, and the CONFIGURE_SHELL solution worked for me. I didn't try the other solution, though. Sig Messaggio originale Da: goocreati...@gmail.com Data: 16/05/2011 10.53 A: sigfr...@tiscali.itsigfr...@tiscali.it Cc: Josh. v...@csiro.au,

Re: Re: RE: [gdal-dev] GDAL build problems under Linux debian x86_64

2011-05-16 Thread Goo Creations
I have problems with: CONFIGURE_SHELL=/bin/bash (works!) export(works!) CONFIGURE_SHELL (error: CONFIGURE_SHELL: command not found) ./configure --with-pg=/usr/bin/pg_config ...(error: configure: WARNING: you should use --build, --host, --target checking build system type... Invalid

R: Re: Re: RE: [gdal-dev] GDAL build problems under Linux debian x86_64

2011-05-16 Thread sigfr...@tiscali.it
Sorry Chris, I made a cut paste error: it's export CONFIGURE_SHELL and NOT export CONFIGURE_SHELL Moreover, you have to specify several options to configure (thus the ..., I simply cut off mine options) try with simply: CONFIGURE_SHELL=/bin/bash export CONFIGURE_SHELL . /configure make

Re: [gdal-dev] GDAL build problems under Linux debian x86_64

2011-05-16 Thread Antonio Valentino
Hi Goo Creations, Il giorno Mon, 16 May 2011 11:23:05 +0200 Goo Creations goocreati...@gmail.com ha scritto: I have problems with: CONFIGURE_SHELL=/bin/bash (works!) export(works!) CONFIGURE_SHELL (error: CONFIGURE_SHELL: command not found) ./configure

Re: [gdal-dev] Re: How to get the ENVISAT N1 Main Processing parameters

2011-05-16 Thread Antonio Valentino
Hi Knut-Frode, Il giorno Mon, 16 May 2011 09:39:30 +0200 Knut-Frode Dagestad knutfrodesop...@hotmail.com ha scritto: Hi RSyaoxin and Antonio, I share your interest in these metadata. In addition to the MPH and SPH metadata in ASCII-format, Envisat files contain a lot of metadata in binary

Re: [gdal-dev] Re: How to get the ENVISAT N1 Main Processing parameters

2011-05-16 Thread Frank Warmerdam
On 11-05-16 12:30 PM, Antonio Valentino wrote: An alternative solution is to write from scratch the routines for decoding of ENVISAT records but this is would require a larger effort. Again I could try to do it but I would like to receive some sign of interest in this feature from GDAL

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Chaitanya kumar CH
Jorge, You can set and retrieve metadata items from a TIFF dataset (TIFF file) using the methods documented in http://www.gdal.org/classGDALMajorObject.html On Mon, May 16, 2011 at 9:32 PM, Jorge Martin jorma...@gmail.com wrote: Hello, I am interested in writing different Keys_DS in

Re: [gdal-dev] Attempting to merge DEMs with gdal_merge.py - getting Float32 clipped to 255.0

2011-05-16 Thread Michal Migurski
Hi Chatinya, Thanks for the advice - I've definitely ensured that the file does not exist first, cleared it out and re-ran gdal_merge.py. The result still has the same clipping to 255. -mike. On May 15, 2011, at 9:19 PM, Chaitanya kumar CH wrote: Michal, Check if the output file already

Re: [gdal-dev] Re: How to get the ENVISAT N1 Main Processing parameters

2011-05-16 Thread Antonio Valentino
Il 16/05/2011 18:38, Frank Warmerdam ha scritto: On 11-05-16 12:30 PM, Antonio Valentino wrote: An alternative solution is to write from scratch the routines for decoding of ENVISAT records but this is would require a larger effort. Again I could try to do it but I would like to receive some

Re: [gdal-dev] Attempting to merge DEMs with gdal_merge.py - getting Float32 clipped to 255.0

2011-05-16 Thread Chaitanya kumar CH
Michal, I can't think of anything else that may be causing this. Can you run this using the latest version, gdal-1.8? On Mon, May 16, 2011 at 11:14 PM, Michal Migurski m...@stamen.com wrote: Hi Chaitanya, Thanks for the advice - I've definitely ensured that the file does not exist first,

[gdal-dev] Labeling rasters

2011-05-16 Thread Jerl Simpson
Hi guys and gals: I have something that's evading me. I have a basic ESRI Shape file (created using gdal_contour) that I run through gdal_rasterize to generate very nice looking contour map. But I want the value of the contour in there. I've been trying different things with the -a option, but

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Chaitanya kumar CH
Jerl, The contour attribute and the Z values are same here. Just one of them is enough. With the Z values near the magnitude of 1000, the burn value of 255 is not going to make much of a difference. Use it if you want to offset any negative Z values. You should mention contour.shp instead of

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Jerl Simpson
I already have the resultant image, it looks great. Just drawing lines on a map. I'm using a blank image so I can more clearly see what's going on. It's just a black and white image, and that's all I want. I'm trying to get the contour labeled, so I know which one I'm viewing. So on the 1000

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Chaitanya kumar CH
Jerl, I'm afraid gdal_rasterize can't do the labelling. You will need a specialized renderer for that. I'm not familiar with any of the desktop applications that do this. Perhaps, qgis has a plugin. On Tue, May 17, 2011 at 1:30 AM, Jerl Simpson jsimp...@wxtrends.com wrote: I already have the

Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Jerl Simpson
Ok, thank you. Does anyone else have any suggestions? On Mon, May 16, 2011 at 3:06 PM, Chaitanya kumar CH chaitanya...@gmail.com wrote: Jerl, I'm afraid gdal_rasterize can't do the labelling. You will need a specialized renderer for that. I'm not familiar with any of the desktop

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Jorge
Hello, Many thanks for your help, but if I want to generate a tiff file which contains multiples images, How I can do it using gdal? because I know that tiff standard allows to generate multiple images in a single tiff file. Best regards, Jorge El 16/05/2011, a las 18:52, Chaitanya kumar

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Frank Warmerdam
On 11-05-16 07:08 PM, Jorge wrote: Hello, Many thanks for your help, but if I want to generate a tiff file which contains multiples images, How I can do it using gdal? because I know that tiff standard allows to generate multiple images in a single tiff file. Jorge, I have skimmed the