Skip to main content

Questions tagged [opentripplanner]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
10 views

How can I ask OpenTripPlanner to prefer itineraries with frequent routes?

I am trying to plan a journey between certain points, however, the obvious routes all involve using connections with only run every half an hour. How can I make OpenTripPlanner to prefer routes which ...
Michael Tsang's user avatar
0 votes
0 answers
69 views

Open Trip Planner API problem

I've setup OTP on my windows machine and fed it the GTFS and OSM for Berlin. Now when I try to access localhost:8080/OTP/routers/default/plan?fromPlace I get this error: we're sorry. the trip planner ...
Ali Raza's user avatar
2 votes
0 answers
104 views

Open Trip Planner doesn't seem to be accounting for turn restrictions - editing local OSM pbfs for scenario planning

We've been attempting to use Open Trip Planner (1.5) to test the impact of various street-network scenarios that include new ways, traffic filtering and vehicle turning restrictions. We are manually ...
James DeWeese's user avatar
4 votes
0 answers
851 views

Reading zipped shapefile from URL directly into QGIS

I need to request a shapefile from an OpenTripPlanner Server and read the file directly into QGIS without saving the file to a disk. Background and requirements: Users system wont be able to write ...
MrXsquared's user avatar
  • 34.5k
1 vote
1 answer
79 views

OpenTripPlanner 1.4 Elevation TIF Issues

I'm using the OpenTripPlanner routing engine (v1.4), and am trying to load in elevation information via a GeoTIFF file. When I load in my TIF file though, the elevations are always being set to 0. The ...
rossco's user avatar
  • 111
0 votes
2 answers
274 views

Getting "all" itineraries for a specific timeframe out of OpenTripPlanner in a single request

Following the tutorial I set up an OpenTripPlanner 2.0.0 server with the Portland area for routing requests. Now I would like to compile a collection of many possible itineraries. By default I get ...
bugmenot123's user avatar
  • 10.9k
1 vote
1 answer
387 views

Using Open Trip Planner

I can't find any information about how to use the analyst functionality of Open Trip Planner. The official resources only go on about point-sets and not how to use the framework. I also looked here: ...
user155100's user avatar
3 votes
5 answers
1k views

Returning 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&...
MrXsquared's user avatar
  • 34.5k
2 votes
1 answer
146 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 ...
bluelabel's user avatar
  • 121
1 vote
1 answer
99 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 ...
falcs's user avatar
  • 1,111
0 votes
1 answer
268 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 want to start the ...
Ayogo's user avatar
  • 221
5 votes
1 answer
1k 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-...
obrob's user avatar
  • 887
1 vote
0 answers
292 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 ...
Javier Mr's user avatar
  • 147
1 vote
1 answer
3k 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/...
morpheus's user avatar
  • 311
1 vote
1 answer
1k 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 ...
Philipp Dahlem's user avatar
1 vote
1 answer
484 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 ...
Javier Mr's user avatar
  • 147
1 vote
0 answers
52 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 ...
Vadim Goroshevsky's user avatar
0 votes
1 answer
512 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. ...
Ahmed Tarek's user avatar
1 vote
1 answer
642 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 ...
JenuRudan's user avatar
  • 113
2 votes
0 answers
318 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....
Lennix's user avatar
  • 21
3 votes
1 answer
367 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 ...
tvieira's user avatar
  • 331
1 vote
1 answer
487 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 ...
tvieira's user avatar
  • 331
1 vote
1 answer
71 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 ...
Anuraj's user avatar
  • 173
6 votes
2 answers
3k 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 ...
Ravi Mehta's user avatar
8 votes
2 answers
4k views

OpenTripPlanner rest api request

following this tutorial I set up a OpenTripPlanner (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/routers/...
franco_b's user avatar
  • 522
2 votes
1 answer
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....
Mark Cupitt's user avatar
  • 3,884
1 vote
1 answer
390 views

Error while starting OpenTripPlanner server

I have started working with OpenTripPlanner (I am developing a journey planner app). I am following the two & five minute tutorial given on OpenTripPlanner website. But while starting the server ...
Khayam Gondal's user avatar