[Tilecache] (no subject)
Gary Townsend
garyt at spatialmapping.com
Wed Apr 11 14:27:16 EDT 2007
Having some difficulties getting tilecache running under the following
system:
Web server
* Windows 2000 Sp4
* IIS 5.0
* Python 2.5
Mapping Server
* MapServer
I think my problem is my ignorance in setting up python and configuring the
tilecache to run under a windows environment. I followed what directions I
could find in the various readme files for setting up on windows I followed
the instructions on the Microsoft page and set up this test file
http://www.resmap.com/resmapserver/tilecache-1.6/test.py which works in IE
and wants to download in FireFox but the downloaded file still is what
appears in IE. Using the files below I try to use the following address
http://www.resmap.com/resmapserver/tilecache-1.6/tilecache.cgi?LAYERS=global
<http://www.resmap.com/resmapserver/tilecache-1.6/tilecache.cgi?LAYERS=globa
l&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90&
WIDTH=256&HEIGHT=256>
&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90&W
IDTH=256&HEIGHT=256
to view the tile cache and I get this:
%1 is not a valid Win32 application.
The directory I placed the tilecache directory in is the same directory
mapserver runs in. Any help or suggestions would be appreciated.
tilecache.cgi
#!c:/Python25/python.exe -u
from TileCache import Service, cgiHandler, cfgfiles
if __name__ == '__main__':
svc = Service.load(*cfgfiles)
cgiHandler(svc)
tilecache.cfg
[cache]
type=DiskCache
base=/data/tilecache
[global]
type=WMSLayer
url=http://www.resmap.com/resmapserver/mapserv.exe?map=C:/Inetpub/ResmapRoot
/ResmapSearch.map
extension=png
Gary Townsend (Systems Programmer & Developer )
Spatial Mapping Ltd.
#200 484 2nd Ave. Prince George, B.C., Canada V2L 2Z7
Phone: 250 564 1928
Fax: 250 564 0751
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openlayers.org/pipermail/tilecache/attachments/20070411/4f81d3c3/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2661 bytes
Desc: not available
Url : http://openlayers.org/pipermail/tilecache/attachments/20070411/4f81d3c3/attachment.gif
More information about the Tilecache
mailing list