Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [opentripplanner]

OpenTripPlanner (OTP) is an open source platform for multi-modal and multi-agency journey planning

1
vote
0answers
56 views

Return route geometry using Opentripplanner API

I already managed to return geometries of Isochrones using the API as follows: https://sampleserver.com/otp/routers/myrouterid/isochrone?algorithm=accSampling&mode=WALK&walkSpeed=1.11&...
1
vote
0answers
25 views

Feeding GTFS files to OTP server without restarting it?

I am new to OTP. AS far as I know, you would have to restart OTP server each time to feed new GTFS files. Meaning, each time when you get a new set of GTFS files, you would have to re-run the OTP ...
1
vote
1answer
43 views

OpenTripPlanner API Elevation values unclear

I'm using the OpenTripPlanner Planner API to find directions. The API returns XML with the geometry of the line (2D) and the elevation data separately, for example The 2D line geometry is as ...
0
votes
1answer
62 views

OpenTripPlanner - Server won't start

I was following this tutorial to learn how to setup and run OpenTripPlanner : https://github.com/marcusyoung/otp-tutorial/blob/master/intro-otp.pdf Everything goes well, until I wanna a start the ...
3
votes
1answer
270 views

OpenTripPlanner (Error: 406) No transit times available

I try using OpenTripPlanner to create a webmap with multimodal routing function. I followed the instruction on: http://opentripplanner.readthedocs.io/en/latest/Basic-Usage/ I downloaded otp-1.1.0-...
1
vote
0answers
135 views

How to deal with conflicting agency identifiers from different GTFS sources in the same router? [closed]

Scenario: One OTP (Open Trip Planner) router which has multiple, say 2 for example, GTFS (General Transit Feed Specification) feeds. Each feed is generated by different agencies, one has trains and ...
0
votes
1answer
2k views

Sample code to plan a trip using OpenTripPlanner as a jar dependency

I would like to use OpenTripPlanner as a jar dependency in my project and do some routing with it. I have followed the steps at https://github.com/opentripplanner/OpenTripPlanner/blob/master/src/test/...
1
vote
1answer
658 views

Open Trip Planner - Error no graph registered with routerID

I am new to using OTP. I followed the basic tutorials instructions to start OTP, with own data, as well as with the data indicated within the tutorial. I get it to run the grizzly server, but opening ...
0
votes
1answer
199 views

Update driving way speed in open trip planner and how to [easily] obtain the needed ids?

I'm trying to update the driving way speed limits in OTP. I have seen how opentraffic data graph updater does it, and I have created a custom one that reads from a very simple Json (just the 4 ...
1
vote
0answers
36 views

How to represent microbuses (hail and ride transport) in GTFS (for OpenTripPlanner server)

I am doing transit database for my city in GTFS format. And I have an problem with microbuses (hail-and-ride transport), because this transport doesn't have stops. As a workaround, I can made stops ...
0
votes
1answer
152 views

OTP - Server Internal Error

When I began to start the OTP server using the command java -Xmx2G -jar otp-0.19.0-shaded.jar --build /home/username/otp --inMemory The program executes normally and says: Grizzly server running. ...
1
vote
1answer
366 views

Parse OTP Trip Results to Google Maps

I am using Open Trip Planner (OTP) in my Android application. I want to know how to parse a trip request result to draw them on google maps as I found no references on OTP website Response i get ...
1
vote
0answers
58 views

Running into Java Heap Size issues with OpenTripPlanner

I'm trying to load up OpenTripPlanner on my PC and utilize it. I get everything set to run, then it gets about two minutes into the OSM file nad icks out "exception in thread "main" java.lang....
3
votes
1answer
205 views

How to use custom shapefiles in OpenTripPlanner?

I have some .shp files and I wanted to try to use them in Open Trip Planner. I run the command: java -Xmx2G -jar otp-0.20.0-SNAPSHOT-shaded.jar --build /path/to/my/shapefile/ --inMemory but I get ...
1
vote
1answer
366 views

Can I import my own data and Dijkstra function in Open Trip Planner or Open Source Routing Machine

I have a lot of geographical proprietary data that I want to use in routing algorithms. I was using pgRouting, but the requirements of the software changed (now includes multi-modal routes that ...
1
vote
1answer
60 views

Why modes are represented with numbers, that are powers of 2.? [closed]

In TraverseModeSet class of org.opentripplanner.routing.core package, Modes are represented using integer numbers , those are powers of 2. Why? private static final int MODE_BICYCLE = 1; private ...
5
votes
2answers
2k views

Open Trip Planner Tutorial

I was wondering if anyone had a good tutorial for Open Trip Planner. I am not an experienced programmer and I am having a lot of trouble understanding what the documentation wants me to do. I got ...
8
votes
2answers
2k views

Open Trip Planner rest api request

following this tutorial I set up a Open Trip Planner (version 0.11.0) stand alone server. It works very well at http://localhost:8080/index.html and for example at http://localhost:8080/otp/...
2
votes
1answer
1k views

Open Trip Planner What is the correct url to use?

I have just built and installed Open Trip Planner. I am quite confused as to how to acess the rest api. Following This example, it says I should be able to make a rest query on my api at http://otp....