[gdal-dev] [gdal Python] Exceptions not reset correctly if gdal.UseExceptions() is used

2009-06-18 Thread Luca Fasano
Hi all, I suspect there is a bug in gdal.UseExceptions() in python binding. I noticed that if a RuntimeError has been generated, following gdal instructions *raise the same exception*. It seems that a gdal.ErrorReset() is necessary to reset it. An example with ipython: In [2]: from osgeo import

[gdal-dev] Setting GDAL Http Fetcher

2009-06-18 Thread Joel Odom
Can I programatically change the http fetcher that GDAL uses for WMS without recompiling GDAL? Thanks! -- http://giscoder.blogspot.com/ ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

RE: [gdal-dev] Errors in compiling GDAL on a 64bits Linux

2009-06-18 Thread Gong, Shawn (Contractor)
Hi Limei I used the following to build GDAL library on a 64-bit Linux Server. setenv CFLAGS -fPIC ./configure --prefix=/home/sgong/build_openev2/dist --with-png=internal --with-libtiff=internal --with-gif=internal --with-geotiff=internal --with-libz=/home/sgong/build_openev2/dist

[gdal-dev] gdaladdo

2009-06-18 Thread Dillabough, Craig
Hi, I am trying to tile and create overviews for a TIFF image dataset I have, but I keep getting strange errors when attempting to add overviews. 1st I created a copy of the original image (same format and all, but wanted to keep the original around in case I had problems). gdal_translate -ot

RE: [gdal-dev] Errors in compiling GDAL on a 64bits Linux

2009-06-18 Thread Chandra Shekhar Kumar
/afs/isis.unc.edu/pkg/oracle-1020/client//lib/libexpat.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [libgdal.la] Error 1 [Chandra ] it looks like it is getting linked against 32-bit libexpat.so Can you check the same by file

Re: [gdal-dev] gdaladdo

2009-06-18 Thread Even Rouault
Craig, This should work. Are you using an older GDAL version ? Are you using external libtiff ? If so, try again with newer GDAL and internal libtiff (although I wouldn't older GDAL to fail on a simple case like yours that doesn't involve TIFF compression) Le Thursday 18 June 2009 21:50:25

Re: [gdal-dev] Build OGR with Oracle support

2009-06-18 Thread Ivan
Normand, Just a quick complimentary reference: Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME. OCI, OCCI, Pro*C, ODBC, and JDBC applications work without modification, while using significantly less disk space than

Re: [gdal-dev] Setting GDAL Http Fetcher

2009-06-18 Thread Even Rouault
I don't understand your question. You should provide more details on what you want to do exactly Le Thursday 18 June 2009 18:31:20 Joel Odom, vous avez écrit : Can I programatically change the http fetcher that GDAL uses for WMS without recompiling GDAL? Thanks!

Re: [gdal-dev] Setting GDAL Http Fetcher

2009-06-18 Thread Joel Odom
No mind readers here? :-) Let me explain. The WMS data source uses libcurl to fetch http requests. I'd like to put a different engine in to fetch http requests so that I can handle some other protocols (actually I'm using libcurl myself with some helper functions). I was wondering if I could

[gdal-dev] Re: GDAL/ArcObjects based app crashes with newer GDAL versions (was How to delete shapefile)

2009-06-18 Thread Mateusz Loskot
Clay, Bruce wrote: If I try to link to the gdal_i.lib then the program does not crash but it does not let me step into any of the methods even though it is a debug library and no GDAL functions work. This is unrelated to GDAL. You better refer MSDN to solve this kind of problems. This should

Re: [gdal-dev] Setting GDAL Http Fetcher

2009-06-18 Thread Even Rouault
You need to hack into GDAL itself then. Le Thursday 18 June 2009 23:42:44 Joel Odom, vous avez écrit : No mind readers here? :-) Let me explain. The WMS data source uses libcurl to fetch http requests. I'd like to put a different engine in to fetch http requests so that I can handle some