graphserver

An open source multimodal trip planning engine

  • 所有者: bmander/graphserver
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图







GRAPHSERVER

OVERVIEW

Graphserver is a multi-modal trip planner. Graphserver supports transit modes
through GTFS, and street-based modes through OSM.

The core graphserver library has Python bindings which provide easy construction,
storage, and analysis of graph objects.

Learn more about Graphserver at http://graphserver.github.com/graphserver/

INSTALLATION

Prerequisites

Python 2.6+ (or 2.5+ for only graphserver.core)

Build

$ cd pygs
$ sudo python2.6 setup.py install

setup.py installs several executables. On debian these go into /usr/local/bin/.
On Mac OS X, these go into
/Library/Frameworks/Python.framework/Versions/2.6/bin/

Test a successful installation:

$ python2.6 -c "import graphserver.core; graphserver.core.Graph(); print 'Graphserver can be imported'"

Run the test harness (in verbose mode):

$ python2.6 setup.py nosetests -v

TOOLS

gs_gtfsdb_compile

Create a GTFSDatabase (sqlite3 db) from a GTFS zip file
$ gs_gtfsdb_compile google_transit.zip google_transit.gtfsdb

gs_osmdb_compile

Create a OSM database (sqlite3 db) from an OSM xml file
$ gs_osmdb_compile map.osm map.osmdb

gs_new

Create a new graph file
$ gs_new foobar.gdb

gs_import_osm

Import an OSM database to a graph file
$ gs_import_osm foobar.gdb map.osmdb

gs_import_gtfs

Import a GTFS database to a graph file
$ gs_import_gtfs foobar.gdb google_transit.gtfsdb

Link OSM vertices to GTFS vertices to enable multimodal trip planning
$ gs_link_osm_gtfs foobar.gdb map.osmdb google_transit.gtfsdb

gs_osmfilter: run one of the filter classes from graphserver.ext.osm.osmfilters on an OSMDB instance

$ gs_osmfilter <Filter Name> <run, rerun, visualize> <osmdb_file> [<filter args> ...]

Building just the C .dll/.so

Provides the core DLL for routing. It is not necessary to manually build this if
using the Python bindings.

Build:
$ cd core
$ make

Install:
$ cd core
$ sudo make install

主要指标

概览
名称与所有者bmander/graphserver
主编程语言Python
编程语言C (语言数: 2)
平台
许可证Other
所有者活动
创建于2009-02-05 07:36:46
推送于2011-09-05 18:17:34
最后一次提交2011-01-03 18:00:30
发布数5
最新版本名称08132009 (发布于 )
第一版名称070708 (发布于 2009-02-05 01:26:14)
用户参与
星数122
关注者数8
派生数60
提交数0.9k
已启用问题?
问题数24
打开的问题数21
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?