<jupyter_start><jupyter_text>PTqueries_OTP set up the OTP server and keep it up and running.> Querying via browser: 'http://localhost:8080'> Killing server http://code2care.org/2015/how-to-kill-service-running-on-port-using-terminal-command/<jupyter_code>OTP_PATH = "otp-1.4.0-shaded.jar"
DATA_PATH = "data" # in folder there should be a gtfs.zip and *.osm.pbf
MEMORY = 6
call = "-Xmx{}G -jar {} --build {} --inMemory".format(MEMORY, OTP_PATH, DATA_PATH)<jupyter_output><empty_output><jupyter_text>terminal call (server is running when you see 'Grizzly server running' in the console output below)<jupyter_code>!java $call<jupyter_output>08:55:08.204 INFO (OTPServer.java:39) Wiring up and configuring server.
08:55:08.210 INFO (GraphBuilder.java:165) Wiring up and configuring graph builder task.
08:55:08.214 INFO (GraphBuilder.java:171) Searching for graph builder input files in ../data/otp/DC
08:55:08.215 INFO (OTPMain.java:203) File '../data/otp/DC/build-config.json' is not present. Using default configuration.
08:55:08.260 INFO (OTPMain.java:203) File '../data/otp/DC/router-config.json' is not present. Using default configuration.
08:55:08.265 INFO (GraphBuilder.java:184) Summarizing GraphBuilderParameters
htmlAnnotations = false
maxHtmlAnnotationsPerFile = 1000
transit = true
useTransfersTxt = false
parentStopLinking = false
stationTransfers = false
stopClusterMode = proximity
subwayAccessTime = 2.0
streets = true
embedRouterConfig = true
areaVisibility = false
platformEntriesLinking = false
matchBusRoutesToStreets = false
fetchElevationUS = false
elevationBucket = null
elevationUnitMultiplier = 1.0
fareServiceFacto[...]
StarcoderdataJupyterStructuredCleanDedup