1.5 KiB
1.5 KiB
OTP setup for VBN
There is not just one way to do it. That is why you find the following selection.
Setup according to basic tutorial
- Download GTFS data from Connect-Fahrplanauskunft GmbH
- Download osm map data from geofabrik
- 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 cd ~/vbn/otp/
osmconvert lower-saxony.osm.pbf.ln -b=7.6966,52.4508,9.6501,53.8503 --complete-ways -o=vbn.osm.pbf
- The output file is called
vbn.osm.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 .
Setup accoriding to cookbook
There is a dedicated [repository[(https://github.com/transportkollektiv/digitransit-setup) for this cookbook.
to be continued
Setup accoding to Stadtnavi tutorial
to be continued