OK, that makes sense. But then what is the error:<div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); "><div> Detail: Key (node_id)=(395051992) is not present in table "current_nodes".</div>
<div><br></div><div>from? That's what crashed my import. I'm trying to find where Osmosis requests a node_id from current_nodes; or am I misreading the error?</div><div><br></div><div>Thanks,</div><div>Jeff</div></span><br>
<div class="gmail_quote">On Fri, Jun 5, 2009 at 3:39 PM, Joachim Zobel <span dir="ltr"><<a href="mailto:jz-2008@heute-morgen.de">jz-2008@heute-morgen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am Freitag, den 05.06.2009, 14:58 -0400 schrieb Jeffrey Warren:<br>
<div class="im">> Detail: Key (node_id)=(395051992) is not present in table<br>
"current_nodes".<br>
<br>
</div>The field that is present is actually named node_id and that is the one<br>
that is mentioned.<br>
<div class="im"><br>
> ALTER TABLE ONLY current_way_nodes ADD CONSTRAINT<br>
> current_way_nodes_node_id_fkey FOREIGN KEY (node_id) REFERENCES<br>
> current_nodes(id);<br>
<br>
</div>This is correct, the table current_way_nodes does have a nodes_id column<br>
which points to <a href="http://current_nodes.id" target="_blank">current_nodes.id</a>.<br>
<br>
Sincerely,<br>
<font color="#888888">Joachim<br>
<br>
<br>
<br>
</font></blockquote></div><br></div>