Re: [gdal-dev] gdal 1.6 on Windows XP build error (tif_ojpeg.c)

2008-12-11 Thread Frank Warmerdam
Gong, Shawn (Contractor) wrote: hi list, I used MS VC++ 6.0 to build gdal. Here is the error for file: C:\build19\gdal-1.6.0\frmts\gtiff\libtiff\tif_ojpeg.c tif_ojpeg.c(599) : error C2632: 'long' followed by 'long' is illegal tif_ojpeg.c(601) : error C2632: 'long' followed by 'long' is

RE: [gdal-dev] gdal 1.6 on Windows XP build error (tif_ojpeg.c)

2008-12-11 Thread Gong, Shawn (Contractor)
thanks Frank. I will give vc6 one more try, then migrate to VC 2005. Shawn -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Frank Warmerdam Sent: Thursday, December 11, 2008 2:06 PM To: Gong, Shawn (Contractor) Cc:

Re: [gdal-dev] Force output color interpretation

2008-12-11 Thread Even Rouault
Asger it appears that when translating to GeoTIFF and that the photometric interpretation creation option is not set, the GeoTIFF driver will try to make a best guess and write the interpretation as RGBA. You can achieve what you want by specifying the photometric interpretation creation

Re: [gdal-dev] Intructions to build GDAL for Java

2008-12-11 Thread Lucena, Ivan
Hi Daniele, I guess some definitions previously contained on java.opt have been actually moved on NMAKE.opt in the main gdal folder. That was all I need to know. Grazie! {{{ compile: [mkdir] Created dir: C:\Dev\gdal\swig\java\build\classes [javac] Compiling 49 source files to

[gdal-dev] gdal 1.6 on Windows XP build error

2008-12-11 Thread Gong, Shawn (Contractor)
hi Frank and list, Here is another error that I got: C:\PROGRA~1\MICROS~3\VC__6~1\INCLUDE\math.h(514) : error C2894: templates cannot be declared to have 'C' linkage I searched the web and the suggested solution was moving the #include math.h outside of the extern C thing. But I cannon find

[Gdal-dev] GDAL + ECW writing doesn't work on PPC Mac OSX tiger (10.4)

2008-12-11 Thread pbrosson
PowerMac G4, Mac OSX 10.4.11, tiger powerpc-apple-darwin8.11.0 My objective is to convert maps into ECW format (for personal use). i have build and install ECW SDK , and then built and install sucessfully GDAL 1.6.0. Many thanks to the developers of GDAL and ECW. However gdal_translate to

Re: [gdal-dev] Re: TMS BoundingBox/Origin coordinates always in lat/lon using gdal2tiles.py?

2008-12-11 Thread Klokan Petr Přidal
Hi Jason, I used a lot of the old code from old version of GDAL2Tiles when implementing tilemapresource.xml generation, so it is possible there are those bugs in it. There is practically no software reading this xml file yet, so I did not paid enough attention probably. But it should be correct

Re: [gdal-dev] GDAL/OGR 1.6.0 Released

2008-12-11 Thread nicholas . g . lawrence
Is there a web page where I can download GDAL/OGR 1.6? I want to download the whole thing, the osgeo installer doesn't work past my office's firewall. Regards, nick *** WARNING: This e-mail (including any attachments) may