[gdal-dev] gdal2tiles from fwtools

Frank Warmerdam warmerdam at pobox.com
Sun Oct 31 15:34:21 EDT 2010


Livneh Yehiyam wrote:
> Hi
> Is there a problem with the python script gdal2tiles in FWTools 2.4.7?
> I'm getting the following error:
> 
> C:\Program Files\FWTools2.4.7>gdal2tiles
> Traceback (most recent call last):
>   File "C:\PROGRA~1\FWTOOL~1.7\bin\gdal2tiles.py", line 38, in ?
>     from osgeo import gdal
> ImportError: No module named osgeo
> C:\Program Files\FWTools2.4.7>

Livneh,

I'm afraid that gdal2tiles.py is not supported as part of FWTools.  It
uses the "new" python api while FWTools ships with the "old" python api.

Try OSGeo4W - you might need a newer package than the default GDAL from
OSGeo4W. Try "gdal17" through the advanced install.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list