[FWTools] Problem with gdal2tiles.py

Frank Warmerdam warmerdam at pobox.com
Thu Sep 3 12:19:08 EST 2009


David R Robison wrote:
> When I run gdal2tiles.py (FWTools 2.4.3) I get the following errors. Any 
> ideas? TNX David
> 
> python C:\Progra~1\FWTools2.4.3\bin\gdal2tiles.py -title GEC -publishurl 
> http://yourserver/dir/ -nogooglemaps -nokml -v SegmentA_11.tif test
> Traceback (most recent call last):
>   File "C:\Progra~1\FWTools2.4.3\bin\gdal2tiles.py", line 38, in ?
>     from osgeo import gdal
> ImportError: No module named osgeo
>

David,

Unfortunately gdal2tiles.py is not supported with the "old generation"
python bindings still used in FWTools.

I would suggest instead that you use OSGeo4W (the gdal16 + gdal16-python
packages) for gdal2tiles.py.

   http://osgeo4w.osgeo.org/

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 FWTools mailing list