Re: [gdal-dev] Accessing OGRStyleTable

2008-09-12 Thread Mateusz Łoskot
Daniel Morissette pisze: Mateusz Łoskot wrote: Now I've got what's the problem. Yes, looks like this part of API is missing or for some reasons not planned. Perhaps Daniel or Frank will explain. Style tables were part of the initial design, but were never implemented for any driver as far

Re: [gdal-dev] gdal 1.5.2's RADARSAT-2 driver

2008-09-12 Thread Frank Warmerdam
Gong, Shawn (Contractor) wrote: Frank, The error (TIFFReadDirectory:Unknown field with tag 34595 (0x8723) encountered) only shown on the very first batch of test R-2 images. The official release R-2 data do not show the error. Shawn, I'd like to stress this is not an error. It is a warning.

RE: [gdal-dev] gdal 1.5.2's RADARSAT-2 driver

2008-09-12 Thread Gong, Shawn (Contractor)
Frank, The error (TIFFReadDirectory:Unknown field with tag 34595 (0x8723) encountered) only shown on the very first batch of test R-2 images. The official release R-2 data do not show the error. thanks, Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal

Re: [gdal-dev] gdal 1.5.2's RADARSAT-2 driver

2008-09-12 Thread Philippe Vachon
Hi Shawn, If you're using GDAL directly, and don't select a subdataset AND the program you're writing ignores subdatasets, you can just read the digital numbers without any other work. A hidden misfeature of the RS2 driver. However, if you're using it with OpenEV or something, it might be possibl

Re: [gdal-dev] gdal 1.5.2's RADARSAT-2 driver

2008-09-12 Thread Frank Warmerdam
Gong, Shawn (Contractor) wrote: hi list, rephrase my 2nd question, is there a way to skip the "SubDataset Selection" dialog, and to load uncalibrated digital numbers by default? Shawn, I think this may be more of an OpenEV question, than it is a GDAL question. You can directly select the

RE: [gdal-dev] gdal 1.5.2's RADARSAT-2 driver

2008-09-12 Thread Gong, Shawn (Contractor)
hi list, rephrase my 2nd question, is there a way to skip the "SubDataset Selection" dialog, and to load uncalibrated digital numbers by default? thanks, Shawn From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gong, Shawn (Contractor) Sen

Re: [gdal-dev] Accessing OGRStyleTable

2008-09-12 Thread Daniel Morissette
Mateusz Łoskot wrote: Now I've got what's the problem. Yes, looks like this part of API is missing or for some reasons not planned. Perhaps Daniel or Frank will explain. Style tables were part of the initial design, but were never implemented for any driver as far as I know. That's why the

[gdal-dev] gdal 1.5.2's RADARSAT-2 driver

2008-09-12 Thread Gong, Shawn (Contractor)
hi list, I have installed gdal 1.5.2 on Windows, trying to test the RADARSAT-2 driver. When loading RSAT-2 "product.xml", a "SubDataset Selection" dialog box pops up and asks user to select 1) uncalibrated digital numbers, 2) Sigma nought calibrated, 3) beta nought calibrated, 4) gamma calibrated

Re: [gdal-dev] Using a specific earth model

2008-09-12 Thread Frank Warmerdam
Andrea Battisti wrote: from a GeoTIFF file, then I would have expected PCI to write the proper spheroid info into the geotiff file, and for GDAL to pick it up. If this is the situation, I'd appreciate seeing a "listgeo" report on the file. Listgeo is part of libgeotiff and should be available

Re: [gdal-dev] Using a specific earth model

2008-09-12 Thread Andrea Battisti
> from a GeoTIFF file, then I would have expected PCI to write > the proper spheroid info into the geotiff file, and for GDAL to pick it > up. If this is the situation, I'd appreciate seeing a "listgeo" report > on the file. Listgeo is part of libgeotiff and should be available in > FWTools dis

RE: [gdal-dev] Error in libjasper.a during 'make' in gdal 1.5.2: relocation R_X86_64_32 against `a local symbol' can not be used

2008-09-12 Thread Steve Gaffigan
You want to build jasper with CFLAGS="-fPIC -m64", as you've done. But you just want CXXFLAGS="-m64", without "-fPIC", for the gdal build. Be sure to unset CFLAGS, or open a new terminal to get a fresh environment, before gdal build. Also, might need to run ldconfig after building jasper, before

Re: [gdal-dev] Using a specific earth model

2008-09-12 Thread Frank Warmerdam
Andrea Battisti wrote: Hi list! I am testing a geotiff file which is in the following coordinate system (from gdalinfo...): Coordinate System is: PROJCS["SIN E019", GEOGCS["unnamed", DATUM["unknown", SPHEROID["unretrievable - using WGS84",6378137,298.257223563]

RE: [gdal-dev] Error in libjasper.a during 'make' in gdal 1.5.2: relocation R_X86_64_32 against `a local symbol' can not be used

2008-09-12 Thread Patton, Eric
>Try rebuilding jasper as: > export CFLAGS="-fPIC" > ./configure --prefix=/usr/local > make; make install > unset CFLAGS > >Then rebuild gdal as usual. > >On our 64-bit systems we also compile gdal and related libraries (geos, >jasper, etc.) with "-m64" in the compiler flags environment variabl

Re: [gdal-dev] Accessing OGRStyleTable

2008-09-12 Thread Alberto Pérez Cassinelli
Mateusz, Thanks for your answer. As Tim said, I need to access all members of the OGRStyleTable for listing them in a GUI. I think maybe it should exist an interface for getting a list of all style names and definitions (a char**, for example). Best regards, Alberto 2008/9/11 Mateusz Łoskot <[EM

[gdal-dev] Out of Office

2008-09-12 Thread paar
Vielen Dank für Ihre Nachricht. Ich bin bis einschließlich 26.09.2008 nicht im Büro und kann Ihre Anfrage leider nicht bearbeiten. Ihre Nachricht wird nicht automatisch weitergeleitet. Ich werde Ihre eMail gerne nach meiner Rückkehr beantworten. Thank you very much for your message. I'm out of

Re: [gdal-dev] Clipping shapefiles

2008-09-12 Thread Craig Leat
Hi Matthew Matthew Huck wrote: > Thanks for that, I seem to have something working now (or so I think), my > shape file is the contours lines for a reasonably hilly area (100Mb), and > I'm clipping it to an area of about 1/12. The only thing is it's still > running about 17 hours later. Is v.ove

Re: [gdal-dev] Accessing OGRStyleTable

2008-09-12 Thread Mateusz Łoskot
Geo Aspects Development pisze: Sorry, but I have to agree with Alberto - there is actually no way (that I have found) of listing the currently loaded styles (for a UI dropdown for example), either with the OGRStyleTable or with the OGRStyleMgr. You have to maintain this list yourself. Tim, N

[gdal-dev] Using a specific earth model

2008-09-12 Thread Andrea Battisti
Hi list! I am testing a geotiff file which is in the following coordinate system (from gdalinfo...): Coordinate System is: PROJCS["SIN E019", GEOGCS["unnamed", DATUM["unknown", SPHEROID["unretrievable - using WGS84",6378137,298.257223563]], PRIMEM["Greenw