[OpenLayers-Users] how to calculate BBOX for tiles
Kevin Kempfer
mail at kevinkempfer.de
Wed Apr 8 05:03:26 EDT 2009
Hi List!
I am trying to selectivly delete tiles from TileCache for specific
BBOXes in order to regenerate parts of the map. I am using this script
which Tim posted two years ago:
http://n2.nabble.com/locating-bad-tiles...-td1836476.html
Supplying the URL which OpenLayers generates for a specific tile
refreshes this tile in the TileCache.
So I need to know how OpenLayers calculates the BBOXes for the tiles to
be requested. Can someone point me to this piece of code?
Here is what should happen:
- I have the BBOX of the part of the map that should be regenerated
- calculate the corresponding tiles in all zoom levels
- pass these tiles' BBOX to Tim's script that regenerates the matching
tiles in the TileCache
or in short: how to get the URLs for tiles, that cover a specific area?
Thanks for any hints - or even better approaches.
Kevin
--
http://www.kevinkempfer.de
Tel.: (07071) 860303
ICQ: 2186573
Skype: kevin0815
Natürlich gibt es eine jenseitige Welt. Die Frage ist nur:
wie weit ist sie von der Innenstadt entfernt, und wie lange hat sie offen.
Woody Allen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3249 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090408/e7f6c234/smime.bin
More information about the Users
mailing list