[Tilecache] bbox and ImageLayer

Mikel Maron mikel_maron at yahoo.com
Tue Apr 27 13:40:51 EDT 2010


Hi

I'm trying to set up an ImageLayer in TileCache. The bbox
covers a small area, and I want the TMS requests to correspond with
spherical mercator style; a particular tile request to OSM should
correspond geographically to the same tile request against this image. 

However,
the requests against the TileCache aren't acting as I'd expect ... a
request for /0/0/0.png retrieves the image, resized to 256x256, rather
than a zoomed out world view.

This is my current configuration

[health_meeting_1_group_3]
type=ImageLayer
bbox=36.771332811,-1.325321221,36.80718373,-1.300412621
filebounds=36.771332811,-1.325321221,36.80718373,-1.300412621
file=/var/www/aerial.maps.jsintl.org/data/IMG_6275-trimmed.JPG
tms_type=google

The OpenLayers config

                        var health_meeting_1_group_3 = new OpenLayers.Layer.TMS( "Health1-3",
                        "http://aerial.maps.jsintl.org/tilecache/tilecache.cgi/1.0.0/health_meeting_1_group_3/",
                                                { type: 'png', getURL: osm_getTileURL, numZoomLevels:20 } );

Any pointers?

Best
Mikel
 == Mikel Maron ==
+254(0)724899738 @mikel s:mikelmaron
http://mapkibera.org/
http://wiki.openstreetmap.org/index.php/Haiti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20100427/55ad5c2b/attachment.html


More information about the Tilecache mailing list