Ticket #1815 (closed defect: fixed)

Opened 1 year ago

Last modified 9 months ago

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

Reported by: mjd Assigned to: 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

gdal2tiles.py.python22.patch (1.0 kB) - added by klokan on 09/13/07 18:09:08.
Patch for python 2.2 back compatibility support

Change History

09/11/07 23:05:39 changed by warmerdam

  • owner changed from warmerdam to klokan.
  • cc set to hobu, warmerdam.
  • component changed from default to PythonBindings.

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.

09/13/07 18:09:08 changed by klokan

  • attachment gdal2tiles.py.python22.patch added.

Patch for python 2.2 back compatibility support

12/02/07 08:44:56 changed by klokan

  • status changed from new to closed.
  • resolution set to fixed.

12/02/07 15:42:44 changed by warmerdam

  • keywords set to gdal2tiles.

Note: hobu applied the patch in r12251.