Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-26 Thread Chris Barker
ts.osgeo.org Subject: Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows On 1/25/11 2:57 PM, Jason Roberts wrote: Rather than introduce a DLL into the system directory, why not statically link the code into the bindings themselves, when possible? we did go through

Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-26 Thread Tamas Szekeres
2011/1/25 Jason Roberts > Rather than introduce a DLL into the system directory, why not statically > link the code into the bindings themselves, when possible? Or document the > appropriate logic for doing it with win32 functions (registry functions, > LoadLibrary, GetProcAddress) and allow the

RE: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Jason Roberts
o: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows On 1/25/11 2:57 PM, Jason Roberts wrote: > Rather than introduce a DLL into the system directory, why not > statically link the code into the bindings themselves, when possibl

Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Christopher Barker
On 1/25/11 2:57 PM, Jason Roberts wrote: Rather than introduce a DLL into the system directory, why not statically link the code into the bindings themselves, when possible? we did go through that, and it's one option, but for those of us that use gdal with C programs, python, with the utiliti

RE: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Jason Roberts
Roberts Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows 2011/1/25 Jason Roberts Tamas, Are you still planning to implement the registry-based approach? I ask because you seemed in favor of avoiding modifying PATH, if at all

Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Tamas Szekeres
2011/1/25 Jason Roberts > Tamas, > > > > Are you still planning to implement the registry-based approach? I ask > because you seemed in favor of avoiding modifying PATH, if at all possible > (a position I agree with), and the registry approach would eliminate that > need while still making GDAL +

RE: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Jason Roberts
, jason From: Tamas Szekeres [mailto:szeker...@gmail.com] Sent: Tuesday, January 25, 2011 3:03 PM To: Jason Roberts Cc: Alain Cembro; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows 2011/1/25 Jason Roberts Tamas, Could

Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Tamas Szekeres
2011/1/25 Jason Roberts > Tamas, > Could you improve the Windows GDAL installer, so that it automatically sets > the environment variables (GDAL_DATA and GDAL_DRIVER_PATH), and adds the > GDAL binaries path to the PATH environment variable ? > > I will do some improvements in the installers to

RE: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Jason Roberts
st it myself yet...) Jason -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Alain Cembro Sent: Tuesday, January 25, 2011 11:31 AM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Problem with GDAL Python bindings and ECW format

Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Alain Cembro
--- On Tue, 1/25/11, Ivan Lucena wrote: > Do you have the GDAL_DRIVER_PATH environment variable set > on your Windows system? > > C:\>echo %GDAL_DRIVER_PATH% > C:\Apps\GDAL\bin\gdalplugins Ivan, You are right, I forgot to set that variable. Now it is working. Thank you very much ! Tamas, Coul

Re: [gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Ivan Lucena
they get it from a default path relative to where they are installed ".\gdalplugins". Regards, Ivan > ---Original Message--- > From: Alain Cembro > To: gdal-dev@lists.osgeo.org > Subject: [gdal-dev] Problem with GDAL Python bindings and ECW format under >

[gdal-dev] Problem with GDAL Python bindings and ECW format under Windows

2011-01-25 Thread Alain Cembro
Hello list, I have written a Python program to create ECW files. It is working fine under Linux, but not under Windows XP. I have installed : - Python 2.6.6 (the official version) - gdal-18-1500-core.msi - gdal-18-1500-ecw.msi - GDAL-1.8.0.win32-py2.6.exe I downloaded the last three files at http: