[Rebuild] Strategy for running the bot in "regions"

Alan Mintz Alan_Mintz+OSM at Earthlink.Net
Mon Jun 25 12:55:23 BST 2012


At 2012-06-25 03:28, Frederik Ramm wrote:
>I'd just crawl over the world in a grid, e.g. 1° by 1° or smaller (small 
>enough to have reason to assume that, on average, one changeset will be 
>enough to make all modifications required in the area). I'd be loading the 
>data from the database with code that mimicks the map call.

I don't know what the limits are, but the following area is probably among 
the most dense that it will need to handle. These are 0.1x0.1 degree 
squares. The coordinates given are for the NW corner. The fields are counts 
of objects by type with the exception of the last field, which is the file 
size of the OSM XML.

-Lat-/--Lon--/-#nodes/#ways/#WayNodes/#Rel/#RelWays/Size(MB)
35.50/-119.20/ 123492/ 9752/   128949/ 120/    1476/  30
35.40/-119.20/ 307913/22133/   320938/ 155/     735/  72
35.30/-119.10/ 138231/12225/   148727/  47/    1320/  33
35.40/-119.10/ 662546/68178/   722366/ 296/    2606/ 165
35.50/-119.10/ 161732/16032/   181039/  59/    1514/  40

Fortunately, this particular area is relatively clean, so the resulting 
changesets should be small. As it stands now, there are areas of LA (a bit 
further south) that are not at all clean, and maybe as much as 60% as dense 
as the smallest of those above.

--
Alan Mintz <Alan_Mintz+OSM at Earthlink.net>




More information about the Rebuild mailing list