pgRouting

Forum #15 - Topic #96 - Message List

wiki/MapServerOutput needs to be updated

As a new user trying to view a route with MapServer? (and following the FOSS4G2007 workshop), I found the page http://pgrouting.postlbs.org/wiki/MapServerOutput incorrect (I couldn't find a shortest_path_as_geometry function in the source at all). So this layer/page should be modified to use the function dijkstra_sp instead:

LAYER

... DATA "the_geom FROM (SELECT gid, the_geom FROM dijkstra_sp('victoria', 238, 1455)) AS foo2 using unique gid using srid=54004" ...

END

-jeff

  • Message #360

    Yes, that's right. Thank you! (Is it you, Jeff?)

    With the 1.0 release we tried to cleanup and simplify the function names. Unfortunately the wiki pages are not updated entirely. The page you mention is one of the first examples from the Camptocamp era. I corrected the function name. As time allows we want to clean up the wiki and extend the documentation. Any help is appreciated of course!