@@ -30,28 +30,32 @@ On Mac OS X, these go into
30
30
31
31
## TOOLS
32
32
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
35
36
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
38
40
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
42
56
43
57
#### gs_osmfilter: run one of the filter classes from graphserver.ext.osm.osmfilters on an OSMDB instance
44
58
$ 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 ...
55
59
56
60
## Building just the C .dll/.so
57
61
0 commit comments