[gdal-dev] Re: Motion: Extend Commit Access to Gaige Paulsen

2010-02-12 Thread Frank Warmerdam
Frank Warmerdam wrote: Motion: Extend GDAL/OGR Commit Access to Gaige Paulsen. Folks, I declare this motion passed with support from Daniel, Even, Tamas, Howard and myself. Welcome aboard Gaige! Best regards, -- ---+-- I

Re: [gdal-dev] OGDI -- GDAL

2010-02-12 Thread Frank Warmerdam
Harsh Govind wrote: I am trying to compile the OGDI library so that I may use it from within GDAL to read VPF data. I downloaded the code but seems like all the makefiles are setup for VC++ 6.0 in Win32 environment. All my other dlls are in VC++8.0. Has anyone compiled OGDI in VS2005? How

[gdal-dev] OGDI -- GDAL

2010-02-12 Thread Harsh Govind
I am trying to compile the OGDI library so that I may use it from within GDAL to read VPF data. I downloaded the code but seems like all the makefiles are setup for VC++ 6.0 in Win32 environment. All my other dlls are in VC++8.0. Has anyone compiled OGDI in VS2005? How can I build OGDI with VS8.

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-12 Thread Eric Wolf
Thanks for the replies. Sorry I didn't give more details on the environment. I am running on Windows, at the command line, both ogr2ogr and the python script. Created an environment variable for ORACLE_SID=ORCL I double-checked my OCI string by using sqlplus to connect: sqlplus scott/ti...@

Re: [gdal-dev] ECW driver as a plugin

2010-02-12 Thread Jason Beverage
Awesome, thanks for the info Even! Jason On Wed, Feb 10, 2010 at 3:27 PM, Even Rouault wrote: > In case it might interest you, the UbuntuGIS team packages a GDAL ECW plugin : > > https://launchpad.net/~ubuntugis/+archive/ppa/ > > Le Wednesday 10 February 2010 19:28:08 Jason Beverage, vous avez é

Re: [gdal-dev] How to supress std io of gdal?

2010-02-12 Thread Ari Jolma
Sam, There is CPLSetErrorHandler, which you can use to set your own error handler function: http://www.gdal.org/ogr/cpl__error_8h.html#74d0e649d58180e621540bf73b58e4a2 This is used for example by the HL bindings to redirect warnings and errors to respective systems of the HLs. See: http://

Re: [gdal-dev] How to supress std io of gdal?

2010-02-12 Thread Joaquim Luis
I have also reported troubles of this type that unfortunately slipped across the last two gdal releases without being addressed. http://trac.osgeo.org/gdal/ticket/3195 Here the problem is even worst as the errors are print to stdout Joaquim Luis Sam, Is there a way to redirect it t

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-12 Thread Abhay
On Fri, Feb 12, 2010 at 2:48 PM, Eric Wolf wrote: > I'm using GDAL/OGR 1.6.1 with ActivePython 2.6.4-10 and > cx_Oracle-5.0.3-11g. I am trying to connect to an Oracle 11g instance. > > This works: > > ogr2ogr -f "KML" emp.kml OCI:scott/tiger "EMP" > > What am I doing wrong. This fails, ds is

Re: [gdal-dev] How to supress std io of gdal?

2010-02-12 Thread Ivan Lucena
Sam, > Is there a way to redirect it to some other buffer? Like an internal stream > which can then be properly propagated via exceptions or written into a log? It is probably not as sophisticated as you want or need but have you tried that: gdalinfo out.tif > stdout.txt 2> stderr.txt Regards

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-12 Thread Alan Boudreault
Eric, Could you try a OCI connection string like: "OCI:user/passw...@host/SID" Alan On February 12, 2010 04:18:23 am Eric Wolf wrote: > I'm using GDAL/OGR 1.6.1 with ActivePython 2.6.4-10 and > cx_Oracle-5.0.3-11g. I am trying to connect to an Oracle 11g instance. > > This works: > > ogr

[gdal-dev] Colour interpretation missing in the TMS mini-driver

2010-02-12 Thread Homme Zwaagstra
Hello all, I've been using the TMS mini driver for the first time (gdal 1.7.0) and came across a problem that I think is due to the driver not setting ColorInterp values on the raster bands it returns. The problem arose using the gdal plugin to mapnik whereby all the images mapnik renders using t

[gdal-dev] How to supress std io of gdal?

2010-02-12 Thread ariasgore
Hello, I've been looking into the docs and also into the source without much luck. When it comes to error handling, functions like GDALOpen just dump everything to the console when reading file error or similar things occur. Is this customizable? GDAL is deeply burried in the logic-code part of o

[gdal-dev] Oracle OCI connection in Python OGR

2010-02-12 Thread Eric Wolf
I'm using GDAL/OGR 1.6.1 with ActivePython 2.6.4-10 and cx_Oracle-5.0.3-11g. I am trying to connect to an Oracle 11g instance. This works: ogr2ogr -f "KML" emp.kml OCI:scott/tiger "EMP" What am I doing wrong. This fails, ds is None: from osgeo import ogr try: d = ogr.GetDriverByName('O