Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#1815 closed defect (fixed)

gdal2tiles.py doesn't work when installed as instructed: FWTools python is >= version 2.3

Reported by: mjd Owned by: klokan
Priority: normal Milestone:
Component: PythonBindings Version: unspecified
Severity: normal Keywords: gdal2tiles
Cc: hobu, warmerdam

Description

If you install gdal2tiles.py as instructed at http://www.klokan.cz/projects/gdal2tiles/, you use it against FWTools 1.3.6. gdal2tile.py requires at least version 2.3 of python (for upgraded functionality of log()).

Possible remedies include:

upgrading the FWTools version of python to 2.3 or more recent.

Backporting the gdal2tiles.py to the current version of FWTools python

changing the gdal2tiles.py install instructions so they work on a non-FWTools environment.

Attachments (1)

gdal2tiles.py.python22.patch (1017 bytes ) - added by klokan 17 years ago.
Patch for python 2.2 back compatibility support

Download all attachments as: .zip

Change History (4)

comment:1 by warmerdam, 17 years ago

Cc: hobu warmerdam added
Component: defaultPythonBindings
Owner: changed from warmerdam to klokan

I'm not planning to upgrade FWTools for linux to python 2.3 any time soon, though FWTools for windows is already python 2.3.

My preference would be for gdal2tiles.py to avoid python 2.3 dependent features if it isn't particularly hard.

by klokan, 17 years ago

Patch for python 2.2 back compatibility support

comment:2 by klokan, 16 years ago

Resolution: fixed
Status: newclosed

comment:3 by warmerdam, 16 years ago

Keywords: gdal2tiles added

Note: hobu applied the patch in r12251.

Note: See TracTickets for help on using tickets.