[Tilecache] xml schema and no more

saltalungo saltalungo at gmail.com
Mon Jun 8 11:02:37 EDT 2009


Hi!
I'm trying to configure the tilecache on mapserver with mod_python.
the components that I have are:
Apache 2.2.11 (ms4w pack)
Mod_python 3.3.1
python 2.5
tilecache 2.10

When i do a request like 

http://localhost/tilecache/tilecache.py/1.1.1/etclusi/

i receive a answer on my browser like this

<TileMap version="1.0.0"
tilemapservice="http://localhost/tilecache/tilecache.py/1.0.0/">
<!-- Additional data: tms_type is default -->
<Title>etclusi</Title>
<Abstract/>
<SRS>EPSG:23030</SRS>
<BoundingBox minx="-20037508.340000" miny="-20037508.340000"
maxx="20037508.340000" maxy="20037508.340000"/>
<Origin x="-20037508.340000" y="-20037508.340000"/>
<TileFormat width="256" height="256" mime-type="image/png" extension="png"/>
−
<TileSets>
<TileSet href="http://localhost/tilecache/tilecache.py/1.0.0/etclusi/0"
units-per-pixel="10.00000000000000000000" order="0"/>
<TileSet href="http://localhost/tilecache/tilecache.py/1.0.0/etclusi/1"
units-per-pixel="5.00000000000000000000" order="1"/>
<TileSet href="http://localhost/tilecache/tilecache.py/1.0.0/etclusi/2"
units-per-pixel="2.00000000000000000000" order="2"/>
<TileSet href="http://localhost/tilecache/tilecache.py/1.0.0/etclusi/3"
units-per-pixel="1.00000000000000000000" order="3"/>
<TileSet href="http://localhost/tilecache/tilecache.py/1.0.0/etclusi/4"
units-per-pixel="0.50000000000000000000" order="4"/>
</TileSets>
</TileMap>


my tilecache.cfg have those lines

[cache]
type=Disk
base=C:/Servicios/cache

[etclusi]
type=WMSLayer
url=http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/maps/mapa/wms.map&
layers=ES_agglom
srs=EPSG:23030
extent_type=loose
bbox=-54,687200, 28,971900, 59,092900, 71,761400
levels=10
resolutions=10,5,2,1,0.5
extension=png
mime_type=image/png
metaTile=true
metaSize=5,5
metaBuffer=10
extent_type=loose
debug=on
spherical_mercator=true


the tile is no save on the designed folder and I can't view the data on my
browser, a data that works fine in a WMS service.

Anyone can help me, tell me where I'm wrong?

cheers

saltalungo
-- 
View this message in context: http://n2.nabble.com/xml-schema-and-no-more-tp3043472p3043472.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list