<div class="gmail_quote">On Wed, Dec 30, 2009 at 3:56 AM, David Carmean <span dir="ltr"><<a href="mailto:dlc@halibut.com">dlc@halibut.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
For the moment I'm working with just the Cloudmade California extract<br>
(in PostGIS simple schema). Is it possible to perform a polygon<br>
clip/extract of the daily planet diffs (changefile)? Failing that,<br>
what happens if a planet-wide diff is applied to an incomplete<br>
planet base file?<br></blockquote><div><br>You can't perform a polygon extract of a diff file (the diff file doesn't contain enough info to determine the location of ways whose nodes haven't changed). However you can perform a polygon extract on the merged result.<br>
<br>In other words:<br>1. Apply the full diff to your extract first.<br>2. Run the result through the bounding polygon task again with the California coordinates.<br><br>You can do it all in a single osmosis incantation if necessary. Something like:<br>
osmosis --read-xml-change diff.osc --read-xml california-orig.osm --apply-change --bounding-polygon file=polygonfile.txt --write-xml california-updated.osm<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Also curious: how much diskspace does the postGIS simple schema<br>
use for a complete planet file?<br></blockquote><div><br>I have no idea ... lots :-)<br><br>Brett<br></div></div><br>