<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all...</FONT></DIV>
<DIV><FONT face=Arial size=2>I have a road table (<FONT
size=1>MULTILINESTRING)</FONT>, so I created a source_id,target_id and edge_id
on IT...</FONT></DIV>
<DIV><FONT face=Arial size=2>Then I executed </FONT></DIV>
<DIV><FONT face=Arial size=2>- > select
assign_vertex_id('roads',0.1)</FONT></DIV>
<DIV><FONT face=Arial size=2>So, my source_id and target_id was filled
OK...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Then I executed:</FONT></DIV>
<DIV><FONT face=Arial size=2>select create_graph_tables('roads' ,
'int4');</FONT></DIV>
<DIV><FONT face=Arial size=2>than I got the following error:</FONT></DIV><FONT
face=Arial size=2>
<DIV><BR>ERROR: duplicate key violates unique constraint
"rodovia_pavimentada_edges_source_key"<BR>CONTEXT: SQL statement "INSERT
INTO roads (id, source, target) VALUES (16, '17', '17')"<BR>PL/pgSQL function
"create_graph_tables" line 27 at execute statement</DIV>
<DIV> </DIV>
<DIV>Whats happened??</DIV>
<DIV> </DIV>
<DIV>Ty</FONT></DIV></BODY></HTML>