|
[OSM-dev] Script to find tiles that need rebuilding: msg#00126gis.openstreetmap.devel
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. Comments welcome, Have a nice day, -- Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/
dev mailing list dev@xxxxxxxxxxxxxxxxx http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [OSM-dev] external link in svn broken?...: 00126, SteveC |
|---|---|
| Next by Date: | Re: [OSM-dev] Script to find tiles that need rebuilding: 00126, OJW |
| Previous by Thread: | [OSM-dev] external link in svn broken?...i: 00126, Joerg Ostertag (OSM Munich/Germany) |
| Next by Thread: | Re: [OSM-dev] Script to find tiles that need rebuilding: 00126, OJW |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |