Seeding with tilecache

2 messages Options
Embed this post
Permalink
Danie Beets

Seeding with tilecache

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hi.

 

I’m experiencing a weird error when using tilecache on windows XP, python 2.5.2.

 

Cache hit: 24.8,-18.32,29.92,-13.2, Tile: x: 40, y: 14, z: 0, time: 0.0, debug: True

00 (000040, 000014) = (24.8000 -18.3200 29.9200 -13.2000) [0.0000s : 1987.574/s] 32/8

Cache hit: 29.92,-18.32,35.04,-13.2, Tile: x: 41, y: 14, z: 0, time: 0.0, debug: True

00 (000041, 000014) = (29.9200 -18.3200 35.0400 -13.2000) [0.0000s : 2049.685/s] 33/8

Cache hit: 35.04,-18.32,40.16,-13.2, Tile: x: 42, y: 14, z: 0, time: 0.0, debug: True

00 (000042, 000014) = (35.0400 -18.3200 40.1600 -13.2000) [0.0000s : 2111.797/s] 34/8

Cache hit: 40.16,-18.32,45.28,-13.2, Tile: x: 43, y: 14, z: 0, time: 0.0, debug: True

00 (000043, 000014) = (40.1600 -18.3200 45.2800 -13.2000) [0.0000s : 2173.909/s] 35/8

###### (76, 21, 1), (83, 27, 1)

Traceback (most recent call last):

  File "C:\www\TILECA~1.10\tilecache_seed.py", line 9, in <module>

    TileCache.Client.main()

  File "C:\tilecache-2.10\TileCache\Client.py", line 162, in main

  File "C:\tilecache-2.10\TileCache\Client.py", line 117, in seed

  File "C:\tilecache-2.10\TileCache\Service.py", line 138, in renderTile

  File "C:\tilecache-2.10\TileCache\Layer.py", line 443, in render

  File "C:\tilecache-2.10\TileCache\Layers\WMS.py", line 29, in renderTile

  File "C:\tilecache-2.10\TileCache\Client.py", line 58, in fetch

  File "C:\Python25\lib\urllib2.py", line 387, in open

    response = meth(req, response)

  File "C:\Python25\lib\urllib2.py", line 498, in http_response

    'http', request, response, code, msg, hdrs)

  File "C:\Python25\lib\urllib2.py", line 425, in error

    return self._call_chain(*args)

  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain

    result = func(*args)

  File "C:\Python25\lib\urllib2.py", line 506, in http_error_default

    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

urllib2.HTTPError: HTTP Error 400: Bad Request

 

When executing the command below in jaunty, seeding works.

 

tilecache_seed.py mapnik-wms 0 11 --bbox="14.0, -35.5, 33.3, -21.9"

 

Here is my tilecache.cfg layer

[mapnik-wms]

type=WMS

layers=__all__

extension=png

srs=EPSG:4326

resolutions=0.02, 0.01, 0.005, 0.0025, 0.00125, 0.000625, 0.0003125, 0.00015625, 0.000078125, 0.000039062, 0.000019531

url=http://localhost:8000

levels=11

 

Any ideas why this might be happening? Can it be that python2.5.2 is too old?

 

Regards,

Danie B.

This email is subject to an e-mail disclaimer.
To read our e-mail disclaimer notice go to:http://www.netstar.altech.co.za/content/Home/disclaimer.html
This email is subject to an e-mail disclaimer

To read our e-mail disclaimer notice go to: http://www.netstar.altech.co.za/content/Home/disclaimer.html




_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache

Danie Beets

Re: Seeding with tilecache

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hi.

 

Nevermind. I just had to disable my proxy in IE and everything worked as normal.

 

Thanks!


From: Danie Beets
Sent: 20 October 2009 02:25 PM
To: '[hidden email]'
Subject: Seeding with tilecache

 

Hi.

 

I’m experiencing a weird error when using tilecache on windows XP, python 2.5.2.

 

Cache hit: 24.8,-18.32,29.92,-13.2, Tile: x: 40, y: 14, z: 0, time: 0.0, debug: True

00 (000040, 000014) = (24.8000 -18.3200 29.9200 -13.2000) [0.0000s : 1987.574/s] 32/8

Cache hit: 29.92,-18.32,35.04,-13.2, Tile: x: 41, y: 14, z: 0, time: 0.0, debug: True

00 (000041, 000014) = (29.9200 -18.3200 35.0400 -13.2000) [0.0000s : 2049.685/s] 33/8

Cache hit: 35.04,-18.32,40.16,-13.2, Tile: x: 42, y: 14, z: 0, time: 0.0, debug: True

00 (000042, 000014) = (35.0400 -18.3200 40.1600 -13.2000) [0.0000s : 2111.797/s] 34/8

Cache hit: 40.16,-18.32,45.28,-13.2, Tile: x: 43, y: 14, z: 0, time: 0.0, debug: True

00 (000043, 000014) = (40.1600 -18.3200 45.2800 -13.2000) [0.0000s : 2173.909/s] 35/8

###### (76, 21, 1), (83, 27, 1)

Traceback (most recent call last):

  File "C:\www\TILECA~1.10\tilecache_seed.py", line 9, in <module>

    TileCache.Client.main()

  File "C:\tilecache-2.10\TileCache\Client.py", line 162, in main

  File "C:\tilecache-2.10\TileCache\Client.py", line 117, in seed

  File "C:\tilecache-2.10\TileCache\Service.py", line 138, in renderTile

  File "C:\tilecache-2.10\TileCache\Layer.py", line 443, in render

  File "C:\tilecache-2.10\TileCache\Layers\WMS.py", line 29, in renderTile

  File "C:\tilecache-2.10\TileCache\Client.py", line 58, in fetch

  File "C:\Python25\lib\urllib2.py", line 387, in open

    response = meth(req, response)

  File "C:\Python25\lib\urllib2.py", line 498, in http_response

    'http', request, response, code, msg, hdrs)

  File "C:\Python25\lib\urllib2.py", line 425, in error

    return self._call_chain(*args)

  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain

    result = func(*args)

  File "C:\Python25\lib\urllib2.py", line 506, in http_error_default

    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

urllib2.HTTPError: HTTP Error 400: Bad Request

 

When executing the command below in jaunty, seeding works.

 

tilecache_seed.py mapnik-wms 0 11 --bbox="14.0, -35.5, 33.3, -21.9"

 

Here is my tilecache.cfg layer

[mapnik-wms]

type=WMS

layers=__all__

extension=png

srs=EPSG:4326

resolutions=0.02, 0.01, 0.005, 0.0025, 0.00125, 0.000625, 0.0003125, 0.00015625, 0.000078125, 0.000039062, 0.000019531

url=http://localhost:8000

levels=11

 

Any ideas why this might be happening? Can it be that python2.5.2 is too old?

 

Regards,

Danie B.

This email is subject to an e-mail disclaimer.
To read our e-mail disclaimer notice go to:http://www.netstar.altech.co.za/content/Home/disclaimer.html
This email is subject to an e-mail disclaimer

To read our e-mail disclaimer notice go to: http://www.netstar.altech.co.za/content/Home/disclaimer.html




_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache