[Cartoweb-users] pb dijkstra module

guillaume champlong goutosig at yahoo.fr
Wed Jun 20 05:25:52 EDT 2007


hi,

I am not sur to understand "one node for one direction", but my data should be in a correct format (well, I hope so!); they come from a shapefile from the "route500" network, made by the IGN, and I have already installed the  dijkstra module on this type of data, without encountering this problem.

Can ou tell me more?
thanks a lot
G.



Oliver Christen <oliver.christen at camptocamp.com> a écrit :       Hi
 do you have one node for both direction or two nodes, one by  direction ? As far as I know, the current dijkstra  implementation only allow single node. Maybe this is the problem but im not the  specialist in this matter.
  
 regards
 Oliver
    ----- Original Message ----- 
   From:    guillaume    champlong 
   To: carto web 
   Sent: Wednesday, June 20, 2007 3:09    AM
   Subject: [Cartoweb-users] pb dijkstra    module
   

Hi all,

I am trying to install dijkstra module on    postgreSQL 8.0 with debian ;
after the execution of assign_vertex_id (which    works), I have an error msg launching the create_graph function    :

ERREUR:  une clé dupliquée rompt la contrainte unique    «route500_44_edges_source_key»
CONTEXT:  instruction SQL «INSERT INTO    route500_44_edges (id, source, target) VALUES (944, '671',    '703')»


I don't know where this duplicated key ("clé dupliquée")    can come from.

Can anyone help?
Thanks
G.
      

---------------------------------
   Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !    Profitez des connaissances, des opinions et des expériences des internautes    sur Yahoo!    Questions/Réponses.      

---------------------------------
    
_______________________________________________
Cartoweb-users    mailing    list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users


             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070620/3eb0ced3/attachment.html


More information about the Cartoweb-users mailing list