Re: [gdal-dev] Labeling rasters

2011-05-16 Thread Simon Lyngby Kokkendorff
Hi Jerl, If you have python with matplotlib and the gdal bindings installed, you can use gdal to read the DEM (which I assume you are getting gdal_contour to draw contours from), and then matplotlibs contour-function to draw the labelled contours. You can draw on top of an imported map/image-fi

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 GeoTIF

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 CH

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 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 > applications that do this.

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 wrote: > I already have the resultant image, it lo

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 c

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 jus

[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] 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 wrote: > Hi Chaitanya, > > Thanks for the advice - I've definitely ensured that the file does not > exist first, cleared it out

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 recei

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 alread

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 wrote: > Hello, > >I am interested in writing different Keys_DS in the same TIFF fil

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 developer

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 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 form, e.g. for ASAR: >

[gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Jorge Martin
Hello, I am interested in writing different Keys_DS in the same TIFF file using gdal library. I only know how to write one Key_DS but I do not know how to include more than one KEY_DS, and I know that TIFF standard allow it. Does anyone know how to implement it with gdal library? Many Tha

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

2011-05-16 Thread Goo Creations
Hi No my configuration works perfectly, but I still get the same problem with make. I've also tried to replace the libtool, without any success. I was able to build the stable 1.8 without any problems. Is this a problem in the trunk version that will be fixed,so should I wait for an update, or is

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 ha scritto: > 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:

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: 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

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

2011-05-16 Thread Even Rouault
Selon josh.v...@csiro.au: I somehow had similar problems, that I solved by replacing the libtool file coming with GDAL with the one of my system from /usr/bin. I'm also wondering if the correction made in http://trac.osgeo.org/gdal/ticket/3928 wouldn't fix the issue. > Hi, > > I'm currently tryi

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.it" Cc: , Ogg: Re: RE: [gdal-dev] GDAL build problems under Linu

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 wrote: > Hi all, > > also setting the CONFIGURE_SHELL variable before running > configure worked for me: >

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: Ogg: RE: [g

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

2011-05-16 Thread Josh.Vote
Hi Antonio, That seems to have gotten the compiler running. For future Debian users experiencing this problem setting SHELL=/bin/bash worked for me. Thanks a lot Josh Vote -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of A

[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

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 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 > obvious errors).

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

2011-05-16 Thread Josh.Vote
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 obvious errors). (cd port; make) make[1]: Entering directory `/home/JoshVote/gdal/port' /bi