wrs (#25) - accessing the webrouting code and tutorials (#325) - Message List

accessing the webrouting code and tutorials

Hi everyone,

I will like to ask how one can access the webrouting project, tutorials and source code. I have just checked the site. I have no idea how to get started.

Cheers,

  • Message #1355

    At first you need to have pgRouting working.
    Then this wiki page might help: http://pgrouting.postlbs.org/wiki/tools/WebRoutingService/Installation

    But I have to admit that documentation is incomplete.

    Better try the 2.0 version branch: http://pgrouting.postlbs.org/browser/tools/routingservice/branches/wrs-2.0

    Once you have it compiled you need to configure XML files in "/data" directory and start the service then.

    If you run into troubles, feel free to ask.

    • Message #1359

      how can the source be downloaded ? using svn ? i tried that but got some errors.

      Also, it seems like the wrs is based on a linux machine. I use windows. What modifications are required to build it on a windows machine.

      I will like to have an idea how a shortest path query can be done using wrs ?

      Cheers,

      • Message #1362

        Sorry, I posted the link from TRAC. The SVN repository link would be http://pgrouting.postlbs.org/svn/pgrouting/tools/routingservice/branches/wrs-2.0/

        Yes, we usually use it on Linux machines. Unfortunately I don't know how to run it on Windows. I'm not familiar with Windows.

        WRS is a restful service written in Java that connects to PostgreSQL, makes a routing query and returns the result in commonly used formats such as GML, KML, etc.v

        For the version in "trunk" there is some documentation available here: http://pgrouting.postlbs.org/wiki/tools/WebRoutingService And it reminds me why the newer version is still a development branch. Because there is no Wiki page yet that describes the new API.