Graphserver is a webservice server providing shortest-path itineraries on large graphs. Graphserver currently comes packaged with scripts to load TIGER/line road maps, and transit data in the Google Transit Feed Specification format, though grapsherver is by no means limited to these formats.
Graphserver is written largely in C, but used via Ruby bindings.
Requirements:
· Ruby 1.8.4 and above - make sure you install ruby headers. With some package distribution systems, they come packaged separately as "ruby-devel".
· libiberty - A common library. If you don't have it, it comes packaged in GNU binutils.
· Postgresql 8.2+ with PostGIS 1.2+ if you want to associate Graphserver with a GIS-enabled database.
INSTALLATION AND USAGE:
To install it, you must run:
ruby install.rb
Quickstart:
Go to the instance directory and read the comments in gserver.rb. They guide you through implementing your own graphserver. After you've done that, just run
ruby gserver.rb
and access the graphserver as a webserver. A sample webserver client has been provided for your amusement.
Product's homepage