[OSM-dev] Script to find tiles that need rebuilding
streetmap at blibbleblobble.co.uk
Thu Dec 28 22:30:54 GMT 2006
On Thursday 28 December 2006 13:49, Martijn van Oosterhout wrote:
> 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).
> It does:
> - 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.
That's quick, thanks Martijn. I've copied the script (with a URL so that it
tells the dev server about new stuff) to:
Do we have any volunteers to leave the script running every x seconds? (only
More information about the dev