<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">I'm not sure if it is documented and the process is a compromise. The</div>
simplest thing is to apply the world diffs and put up with the small<br>
amount of extra data which appears for the rest of the world. It should<br>
be possible to apply a bbox filter to the diffs too but there are some<br>
edge cases which can result in missing data. In real-life these edge<br>
cases will probably be so rare that they won't cause any real issues.</blockquote><div><br></div><div>So, just to be clear, how does this workflow look?</div><div><br></div><div>1. Download planet.osm; extract USA with bounding polygon, import USA.osm, don't delete planet.osm.</div>
<div><br></div><div>2. (Repeat) Have a cron job download daily/hourly changeset for whole planet; apply changeset to DB with osm2pgsql. Some cruft will show up on other continents as people make changes elsewhere.</div><div>
<br></div><div>3. (Repeat) Also apply changeset to planet.osm that's hanging out on my hard drive.</div><div><br></div><div>4. (Once a month?) Re-apply bounding polygon to patched planet.osm; drop tables then re-import USA.osm to get rid of extra data in rest of world.</div>
<div><br></div><div>Or is this overkill for the small amount of data that will be showing up in the changesets? </div></div>