need assistance with gdal_retile.py - FWTwools 2.4.2 Windows

View: New views
2 Messages — Rating Filter:   Alert me  

need assistance with gdal_retile.py - FWTwools 2.4.2 Windows

by Mark Volz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello,

 

I would like to create a tilecache for my air photos to be used in my mapserver application.  It is my understanding that you can use gdal_retile.py to do this.  I installed the full installation of FWTools 2.4.2 for windows.  When I ran tilecache I had the following errors: 

 

File "C:\PROGRA~1\FWTOOL~1.2\bin\gdal_retile.py", line 36, in <module>

    import gdal

File "C:\PROGRA~1\FWTOOL~1.2\pymod\gdal.py", line 191, in <module>

    import _gdal

ImportError: No module named _gdal

 

Could anyone assist me in getting a tilecache set up?   I also was confused as the help page http://gdal.org/gdal_retile.html did not address the source raster file. 

 

Any help would be greatly appreciated

 

 

Mark Volz

GIS Specialist

Lyon County, MN


_______________________________________________
FWTools mailing list
FWTools@...
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/

Re: need assistance with gdal_retile.py - FWTwools 2.4.2 Windows

by Frank Warmerdam-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mark Volz wrote:

> Hello,
>
>  
>
> I would like to create a tilecache for my air photos to be used in my
> mapserver application.  It is my understanding that you can use
> gdal_retile.py to do this.  I installed the full installation of FWTools
> 2.4.2 for windows.  When I ran tilecache I had the following errors:
>
>  
>
> File "C:\PROGRA~1\FWTOOL~1.2\bin\gdal_retile.py", line 36, in <module>
>
>     import gdal
>
> File "C:\PROGRA~1\FWTOOL~1.2\pymod\gdal.py", line 191, in <module>
>
>     import _gdal
>
> ImportError: No module named _gdal

Mark,

FWTools installs it's components in a local FWTools environment.  It
does not update the system Python with the GDAL packages. The following
page includes info on installing windows binaries that I think may
do what you need.

   http://trac.osgeo.org/gdal/wiki/GdalOgrInPython

> Could anyone assist me in getting a tilecache set up?   I also was
> confused as the help page http://gdal.org/gdal_retile.html did not
> address the source raster file.

The source raster file is the argument listed as "input_files".  What
else did you need to know?

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

_______________________________________________
FWTools mailing list
FWTools@...
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/