Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Aleksey Naumov
On Wed, Oct 21, 2009 at 1:56 PM, Frank Warmerdam wrote: > Ivan wrote: > >> Aleksey, >> >> Thank you, this works. I must have overlooked the gdal-python bindings >>> package in the Advanced settings on my last try. >>> >> >> Welcome. >> >> One thing I am currently missing in OSGeo4W GDAL is su

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Frank Warmerdam
Ivan wrote: Frank, By the way, about this bold text *This DSDK is not free software, you should contact LizardTech to obtain it (see link at end of this page).* on http://www.gdal.org/frmt_mrsid.html Is that current? I believe that LizardTech changed the terms of that DSDK license. Did they?

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Ivan
, Ivan > ---Original Message--- > From: Frank Warmerdam > Subject: Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows) > Sent: Oct 21 '09 12:56 > > Ivan wrote: > > Aleksey, > > > >>  Thank you, this works. I must have overlooked th

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Frank Warmerdam
Ivan wrote: Aleksey, Thank you, this works. I must have overlooked the gdal-python bindings package in the Advanced settings on my last try. Welcome. One thing I am currently missing in OSGeo4W GDAL is support for ECW and MrSID -- is it available? I've installed the gdal-ecw and gdal-mr

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Ivan
Aleksey, > Thank you, this works. I must have overlooked the gdal-python bindings > package in the Advanced settings on my last try. Welcome. > One thing I am currently missing in OSGeo4W GDAL is support for ECW and > MrSID -- is it available? I've installed the gdal-ecw and gdal-mrsid > pa

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Aleksey Naumov
Matt, Thank you, installing gdal-python fixed my problem. I just have to figure out how to deal with ECW ad MrSID formats in OSGeo4W... Best regards, Aleksey On Tue, Oct 20, 2009 at 12:33 PM, Matt Wilkie wrote: > Hi Aleksey, > > With osgeo4w as Ivan noted you need to install the gdal-python pa

Re: [Gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Aleksey Naumov
Markus, Thank you for your detailed help and reference to the previous discussion on switching to the GDAL 1.6 environment (gdal16.bat). I mostly got OSGeo4W to work for me, thanks to comment from Ivan, just have some issues with ECW and MrSID support. Thanks for the pointer to use "from osgeo im

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-21 Thread Aleksey Naumov
Ivan, Thank you, this works. I must have overlooked the gdal-python bindings package in the Advanced settings on my last try. Comparing to FWTools, I get a sense that the OSGeo4W GDAL/Python bundle is pretty complete. At least it has all the usual GDAL utility programs and python scripts. One th

Re: [Gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-20 Thread Matt Wilkie
Thanks for the effbot pointer Markus. I've been thinking for ahwile now that I'd like to register the gdal python as the system default for 2.5 but didn't have a recipe and was mapping out a plan to work out some sort of regedit batch file trickery. Now there is a much cleaner route :) http://t

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-20 Thread Matt Wilkie
Hi Aleksey, With osgeo4w as Ivan noted you need to install the gdal-python package. O4w doesn't register it's python on the windows registry, so unless you run your .py script from inside the o4w shell it won't find the right python either. There are a number of python scripts in C:\Osgeo4w\

Re: [Gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-19 Thread Markus Reinhold
Hej, Aleksey Naumov-2 wrote: > > My problem is being able to do scripting with GDAL using Python 2.5 (this > version is important because of integration/compatibility with a number of > other packages, mainly IPython), and I need to be able to do it on > Windows. > I attempted a few approaches,

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-19 Thread Ivan
Aleksey Installing GDAL + Python 2.5 + "GDAL Python bindings" through the advanced settings usually works pretty easy. And the you should be able to launch the OSGeo4W Shell and access it, example: C:\OSGeo4W> Python >>> from osgeo import gdal >>> gdal.VersionInfo() '1520' >>> Noti

[gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-19 Thread Aleksey Naumov
Dear GDAL users, My apologies if this is a repeated question, I searched the mail acrhives and found a few discussions on this subject, but no resolution, AFAIK. I may have overlooked a good thread, would appreciate a link. My problem is being able to do scripting with GDAL using Python 2.5 (this