[OSM-dev] Script to find tiles that need rebuilding
Martijn van Oosterhout
kleptog at gmail.com
Thu Dec 28 13:49:11 GMT 2006
Last night on irc #osm almien_l asked if someone wanted to write a
script that would monitor the nodes.rss feed and use that to generate
requests for tiles that need to be regenerated.
This I have done (see attachment).
- Reads the feed at http://www.openstreetmap.org/feeds/nodes.rss
- Determines which tiles have been affected
- Checks a cache to make sure the same tile isn't requested twice
within 48 hours
- Does a request of the form http;//somewhere/PleaseUpdate/?x=1234&y=3210
I'm not sure what almien_l intended to do with it, but he did say to
send it to the dev list. The intended application is to run it
regularly from a cron script.
Have a nice day,
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2438 bytes
Desc: not available
More information about the dev