[OpenLayers-Users] Unable to use both OpenLayers.Layer.Google
and OpenLayers.Layer.TMS
bdw
bdwilton at gmail.com
Thu Jun 7 00:01:45 EDT 2007
Hi Tim,
Thanks for your reply.
I performed the following tests :-
1) Set OL to default EPSG (i.e. 4326), one non-cache wms base layer - worked
2) Set base layer to tilecache wms - worked
3) Set EPSG 54004 with one non-cache wms base layer - worked
4) Set base layer to tilecache wms - nothing displayed
Then I tried a single call to the tilecache like you suggested, the
following call :-
http://192.168.0.4:8081/?LAYERS=nzmap&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A%2054004&BBOX=16280475.8648%2C-1300840.7104%2C17532820.136%2C-48496.4392&WIDTH=256&HEIGHT=256
returned :-
An error occurred: couldn't calculate tile index for layer nzmap from
([16280475.864800001, -1300840.7104, 17532820.136, -48496.439200000001])
File "/var/www/cgi-bin/tilecache-1.8.1/TileCache/Service.py", line 452, in
wsgiHandler
File "/var/www/cgi-bin/tilecache-1.8.1/TileCache/Service.py", line 395, in
dispatchRequest
File "/var/www/cgi-bin/tilecache-1.8.1/TileCache/Service.py", line 120, in
parse
File "/var/www/cgi-bin/tilecache-1.8.1/TileCache/Service.py", line 129, in
getMap
I assume this index error means that the tolerance value like you mention is
at fault, I dont
have a good enough understanding of the internals as to why the EPSG:4326
works and
EPSG:54004 causes this tolerance error.
Was thinking it could be my geoserver setup as I added the 54004 SRS entry
but from watching the
logs the requests never get that far and stop as you suggest (I believe) at
the tilecache.
--
View this message in context: http://www.nabble.com/Unable-to-use-both-OpenLayers.Layer.Google-and-OpenLayers.Layer.TMS-tf3865655.html#a11001507
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list