Update:
my first test seems to work.
I use PMAPPER search tools to select "SOURCE" point then I use a fixed
TARGET point in the sql:

<sql>SELECT seq, id1 AS node, id2 AS edge, cost, the_geom   FROM
pgr_dijkstra('SELECT id, source, target, st_length(the_geom) as cost FROM
sentieri.tutti', ~* '^[search], 2, false, false) as di
  JOIN sentieri.tutti pt
  ON di.id2 = pt.id ;</sql>


in the example SOURCE comes from [search] and TARGET is 2.

it works, it highlights the route! obviously you should use the "network
layer" in mapfile but not add it in config.xml. Let it works in backgroung.
Now I would like to "select" the target point in the same way I did for
"source" point.
The I would like to use more understandable name for source and target. In
this moment they refer to NODE id of my DB created by pgrouting extension.
If someone of you is interested we can develop toghether this function.
it works in pm4 and 5



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pgrouting-tp4025437p4025595.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to