[OSM-dev] Osmosis error, duplicate

Jeffrey Warren warren at mit.edu
Fri Jun 5 22:46:45 BST 2009


OK, that makes sense. But then what is the error:
  Detail: Key (node_id)=(395051992) is not present in table "current_nodes".

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?

Thanks,
Jeff

On Fri, Jun 5, 2009 at 3:39 PM, Joachim Zobel <jz-2008 at heute-morgen.de>wrote:

> Am Freitag, den 05.06.2009, 14:58 -0400 schrieb Jeffrey Warren:
> > Detail: Key (node_id)=(395051992) is not present in table
> "current_nodes".
>
> The field that is present is actually named node_id and that is the one
> that is mentioned.
>
> > ALTER TABLE ONLY current_way_nodes     ADD CONSTRAINT
> > current_way_nodes_node_id_fkey FOREIGN KEY (node_id) REFERENCES
> > current_nodes(id);
>
> This is correct, the table current_way_nodes does have a nodes_id column
> which points to current_nodes.id.
>
> Sincerely,
> Joachim
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090605/e88dbb08/attachment.html>


More information about the dev mailing list