feat added setup for VBN and GOEVB
This commit is contained in:
commit
d13e67b1aa
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
Examples to setup OpenTripPlaner (OTP).
|
||||
|
||||
## Table of Contents
|
||||
* [GOEVB](goevb.md)
|
||||
* [VBN](vbn.md)
|
|
@ -0,0 +1,17 @@
|
|||
# OTP setup for GOEVB
|
||||
* Download GTFS [data](goevb.gtfs.zip) from VBN
|
||||
* Download osm map data for lower saxony from [geofabrik](lower-saxony.osm.pbf.ln)
|
||||
* Get bounding box for GOEVB from https://boundingbox.klokantech.com/
|
||||
* csv: 9.800175,51.489895,10.050114,51.600227
|
||||
* Extract GOEVB map data from lower saxony map data using the tool `osmconvert` creating the [file](goevb.pbf)
|
||||
* `cd ~/goevb/otp/`
|
||||
* `osmconvert lower-saxony.osm.pbf.ln -b=9.800175,51.489895,10.050114,51.600227 --complete-ways -o=goevb.pbf`
|
||||
* The output file is called `goevb.pbf`
|
||||
* Build a street graph with OSM and elevation data only (ignoring transit input files)
|
||||
* `java -Xmx1G -jar otp.jar --buildStreet .`
|
||||
* The output file is called `streetGraph.obj`
|
||||
* Build a graph layering transit data on top of the saved street graph (built using the previous command)
|
||||
* `java -Xmx1G -jar otp.jar --loadStreet --save .`
|
||||
* The output file is called `graph.obj`
|
||||
* Finally, the server can be started using the --load parameter
|
||||
* java -Xmx1G -jar otp.jar --load .
|
|
@ -0,0 +1,17 @@
|
|||
# OTP setup for VBN
|
||||
* Download GTFS [data](vbn.gtfs.zip) from connect Fahrplanauskunft GmbH
|
||||
* Download osm map data from [geofabrik](lower-saxony.osm.pbf.ln)
|
||||
* Get bounding box for VBN from https://boundingbox.klokantech.com/
|
||||
* csv:7.6966,52.4508,9.6501,53.8503
|
||||
* Extract VBN map data using the tool `osmconvert` creating the [file](vbn.pbf)
|
||||
* `cd ~/vbn/otp/`
|
||||
* `osmconvert ???.osm.pbf.ln -b=??? --complete-ways -o=vbn.pbf`
|
||||
* The output file is called `vbn.pbf`
|
||||
* Build a street graph with OSM and elevation data only (ignoring transit input files)
|
||||
* `java -Xmx2G -jar otp.jar --buildStreet .`
|
||||
* The output file is called `streetGraph.obj`
|
||||
* Build a graph layering transit data on top of the saved street graph (built using the previous command)
|
||||
* `java -Xmx2G -jar otp.jar --loadStreet --save .`
|
||||
* The output file is called `graph.obj`
|
||||
* Finally, the server can be started using the --load parameter
|
||||
* java -Xmx2G -jar otp.jar --load .
|
Loading…
Reference in New Issue