Skip to content

Commit 02caa04

Browse files
committed
modernized README
1 parent 481e9d4 commit 02caa04

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

README.markdown

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,32 @@ On Mac OS X, these go into
3030

3131
## TOOLS
3232

33-
#### gs_gtfsdb_compile: create a GTFSDatabase (sqlite3 db) from a GTFS zip file
34-
$ gs_gtfsdb_compile test/google_transit.zip test/google_transit.zip.gtfsdb
33+
#### gs_gtfsdb_compile
34+
Create a GTFSDatabase (sqlite3 db) from a GTFS zip file
35+
$ gs_gtfsdb_compile google_transit.zip google_transit.gtfsdb
3536

36-
#### gs_gtfsdb_inspect: run a query against a GTFSDatabase
37-
$ gs_gtfsdb_inspect test/google_transit.zip.gtfsdb "select * from agency"
37+
#### gs_osmdb_compile
38+
Create a OSM database (sqlite3 db) from an OSM xml file
39+
$ gs_osmdb_compile map.osm map.osmdb
3840

39-
#### gs_osmdb_compile: compile an OSMDB from an OSM xml file
40-
$ (cd test && unzip map.osm.zip)
41-
$ gs_osmdb_compile test/map.osm test/map.osmdb>
41+
#### gs_new
42+
Create a new graph file
43+
$ gs_new foobar.gdb
44+
45+
#### gs_import_osm
46+
Import an OSM database to a graph file
47+
$ gs_import_osm foobar.gdb map.osmdb
48+
49+
#### gs_import_gtfs
50+
Import a GTFS database to a graph file
51+
$ gs_import_gtfs foobar.gdb google_transit.gtfsdb
52+
53+
#### gs_link_osm_gtfs
54+
Link OSM vertices to GTFS vertices to enable multimodal trip planning
55+
$ gs_link_osm_gtfs foobar.gdb map.osmdb google_transit.gtfsdb
4256

4357
#### gs_osmfilter: run one of the filter classes from graphserver.ext.osm.osmfilters on an OSMDB instance
4458
$ gs_osmfilter <Filter Name> <run|rerun|visualize> <osmdb_file> [<filter args> ...]
45-
46-
#### gs_compile_gdb: the a graph compiler; accepts compiled GTFSDatabase(s) and/or a compiled OSMDB as inputs
47-
# compile only GTFS data
48-
$ gs_compile_gdb` -g bart.gtfsdb bart.gdb
49-
# compile an OSM street graph only
50-
$ gs_compile_gdb -o pygs/test/map.osmdb map.gdb
51-
# compile GTFS with OSM
52-
$ gs_compile_gdb -o pygs/test/map.osmdb -g bart.gtfsdb bart_with_streets.gdb
53-
# compile multiple GTFS files into one graph
54-
$ gs_compile_gdb -g A.gtfsdb -g B.gtfsdb -g ...
5559

5660
## Building just the C .dll/.so
5761

0 commit comments

Comments
 (0)