<div class="gmail_quote">2009/3/28 Stefan de Konink <span dir="ltr"><<a href="mailto:stefan@konink.de">stefan@konink.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
> From my last run, way id 4043882 references node 365476284 that is not<br>
> present in the dump. This is with planet version 090325. Grep reveals<br>
> that 365476284 is only present in an "nd" tag as part of the ref=<br>
> statement. :-(<br>
><br>
> My question is: what is the right interpretation of a missing node?<br>
> Should I simply pretend the node reference does not exist (e.g. delete<br>
> the vertex from the way)?<br>
<br>
</div>The idea with that situation is for ways:<br>
- Download the way; and just reupload it, then it will be solved in the<br>
next run (because the way download hides invisible nodes)<br>
</blockquote><div><br>This only fixes the problem of ways with nodes that shouldn't be there which I don't believe is always the case... In most cases, nodes that should be in a way have somehow become deleted, but, not from the way itself... The typically accepted 'fix' for these is to modify the way in Potlatch, which, as a byproduct of it's method of rewriting all related objects, restores the nodes to their prior undeleted state... To blindly rewrite these damaged ways removing the problem nodes would hide the problem but could leave the way itself inaccurate... These ways should be manually inspected to work out what the actual problem is and to repair it, or at the very least, a lot more logic needs to be used in any automated process...<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>
For relations:<br>
- Download the relation; remove all nodes/ways/relations that you know<br>
that don't exist. Reupload it; will you get a 200; job well done ;)<br>
<font color="#888888"></font></blockquote><div><br>Again, this isn't so simple... doing this would remove some errors (deleted objects in a relation) and introduce new ones (relations that are missing critical components or otherwise don't make sense)... <br>
<br></div></div>d<br>