49 questions
0
votes
1
answer
26
views
OpenTripPlanner : enquire version and public transport data validity, expiry date etc
I am using my own local OTP server fed with GTFS data from a public transport agency. I download said data every month in order to catch updates (very rare) or to avoid the data expiring. That data is ...
0
votes
0
answers
39
views
OpenTripPlanner returns invalid tripId values not matching the requested service date
I'm using OpenTripPlanner 2 (OTP2) as the backend for a JavaFX-based transit map application. The GTFS data is loaded correctly, and routing works, but I encountered a serious issue.
Problem:
When ...
0
votes
1
answer
83
views
DateTime object giving me an error when querying an API using JSON
I am using an instance of OpenTripPlanner(route mapping software) and querying its API using JSON. Below is the code:
headers = {
'Content-Type': 'application/json',
'OTPTimeout': '180000',
...
-1
votes
3
answers
426
views
Java can't open any .jar files
I was following this tutorial: https://docs.opentripplanner.org/en/latest/Basic-Tutorial/ to get started with OpenTripPlanner for the first time. Once I got to the step "starting OTP" I ...
1
vote
0
answers
231
views
Open Trip Planner 2 - Does it support planning many trips at once?
I'm trying to create a dashboard that simulates the usage of a public transport network for a city by planning many trips at once for a set of different origins, destinations and times.
Does Open Trip ...
0
votes
1
answer
760
views
Gtfs files wont work in Open Trip Planner
My question is a duplicate of this question:
GTFS in OpenTripPlanner
, but there arent any solutions in that answer.
My gtfs are loaded correctly and the stops do appear on the map. But OTP doesnt
...
1
vote
0
answers
345
views
Building graph from OSM and GTFS data using OTP
I have a few questions regarding building graph with OTP (OpenTripPlanner) containing GTFS data and OSM data. I am using GTFS and OSM data for Berlin.
I read here that OTP version 2 does not support ...
0
votes
1
answer
480
views
OpenTripPlanner and Flutter
Is there a way that I can use OpenTripPlanner in Flutter? I'm able to set it up locally on my laptop with GTFS but I don't know how to implement it in Flutter.
For context, I'm building a public ...
0
votes
1
answer
566
views
Where to put gtfs and osm data for the open trip planner?
I am trying to use open trip planner and I’m using the src/client/index.html to view the gtfs and osm data. What file do I edit to point the data to use for otp? Where do I put the gtfs and osm data ...
-1
votes
1
answer
172
views
How to use OpenTripPlanner inside of a javascript website?
I am fairly new to the OpenTripPlanner and would like to implement it into a small portion of an already built website. Is this possible and if so how would I go about adding it?
1
vote
0
answers
49
views
OTP : export isochron
I would like to export my isochrones with this link: http://localhost:8080/otp/routers/npdc/isochrone?fromPlace=50.44748389174579,2.973716363690387&mode=WALK,TRANSIT&date=09-14-2021&time=8:...
0
votes
0
answers
300
views
R - package otpr - no trip found
Using R and the package otpr I am trying to run the example
library(otpr)
otpcon <- otp_connect()
otp_get_distance(
otpcon,
fromPlace = c(53....
0
votes
1
answer
184
views
OpenTripPlanner on React Native
I am writing my bachelor's thesis on cross-platform applications for transport management systems.
The idea is to create a React Native application with OpenTripPlanner. I have found this - https://...
1
vote
1
answer
520
views
Open Trip Planner 2. Start server from multiple graph.obj file
I have otp-2.0.0-rc1-shaded.jar file into /home/otp/ directory
I have two graph files (with gtfs archives and pbf files) into following directories:
/home/otp/graphs/ru
/home/otp/graphs/ua
I tried ...
0
votes
1
answer
471
views
Open Trip Planner Real-Time Testing
I am setting up a OTP instance on my local machine and I have at my disposal all the necessary feeds (Static and Real-Time). Some of these have some issues regarding the quality of data but overall ...
0
votes
1
answer
489
views
OpenTripPlanner is not returning stops within a given radius
OTP 1.4.0 will return all of the stops in the GTFS feed but will not return nearby stops when provided with lat/lon and radius. Does anyone know why this is happening and how to resolve it?
http://{...
1
vote
0
answers
283
views
Is it possible to partially calculate the graphs of Open Trip Planner?
I have a question about Open Trip Planner. In the project I'm working on I've automated the download of GTFS files whenever an update is available.
Every time my server downloads a new update, ...
0
votes
1
answer
376
views
Open Trip Planner over HTTPS
I'm trying to deploy a solution using Open Trip Planner, and everything is OK if I use HTTP, but apparently the HTTPS connection doesn't work.
I've followed the official docs but with no success, ...
4
votes
0
answers
5k
views
“An attempt was made to access a socket in a way forbidden by its access permissions” when accessing localhost from inside an Azure Function
Disclaimer:
It's a cliche but it works on my machine(!)
Context:
Http Triggered Azure Function App Running on Windows With a "Free Tier" option.
Details:
I have an Azure Function App that host ...
1
vote
1
answer
2k
views
How to work with gtfs real time in OpenTripPlanner
I am working with opentripplanner to show trips and stops and I can work fine with GTFS. Now, I want to work with GTFS Real Time, but I don't know how to generate pb files. What are the first steps to ...
1
vote
0
answers
65
views
How triangle options works in OTP?
I'm new to OpenTripPlanner project. Trying to understand how the travel options are working like walk, bicycle and other options. When we are choosing Bicycle only,
we have an Triangle option where ...
2
votes
1
answer
208
views
Open trip planner script slower on days other than today
I'm making use of open trip planner using the jython scripting method explained here: http://docs.opentripplanner.org/en/latest/Scripting/
(specifically 'Using OTP as a library') and am using a ...
5
votes
1
answer
1k
views
GTFS based Transit Planning using PGRouting
I have followed below tutorial for setting-up OpenTripPlanner by importing GTFS data and it worked.
http://docs.opentripplanner.org/en/latest/Basic-Tutorial/
But I have to integrate the trip ...
0
votes
1
answer
222
views
How to create a GTFS_RT feed from a bogus AVL feed in csv format
I am trying to produce a GTFS Realtime Feed from AVL data that a transit agency is providing. The thing is that there doesn't seem to be a link between the offical GTFS data and this AVL data set.
...
0
votes
1
answer
751
views
Can't open web application from server URL
I'm currently trying to incorporate an application called OpenTripPlanner to my web site. The documentation on how to set it up loccally is clear and I got it to work on my computer fairly easily. ...
2
votes
1
answer
4k
views
Read XML file from URL in Python
I'm using an open source project call OpenTripPlanner which is a tool that I plan to use to simulate a lot of itineraries from one point to another at a given time. So far, I've managed to find the ...
0
votes
1
answer
395
views
How to get the correct Concave Hull using OpenTripPlanner API?
The following code does not give me the result I expected. I expect to have all the points as the nodes of the polygon and the polygon contains all the points. How to use the API correctly? Also if I ...
0
votes
2
answers
280
views
How to define irregular service in GTFS
Does anyone know how I should define a transit service that only occurs on public holidays, in GTFS?
calendar.txt as;
'4,0,0,0,0,0,0,0,20161211,20171209'
calendar_dates.txt as;
'4,20171001,1'
'4,...
1
vote
1
answer
1k
views
How to use OpenTripPlanner on a web application?
I am new to open trip planner (and OpenStreetMap too), and I would like to use it in a web application, where I would let the user choose preferred options (like travel mode) and even use tags to ...
0
votes
1
answer
443
views
OTP program argumets and warnings
I've installed OTP using IntelliJ IDEA. I downloaded GTFS and OSM data from Berlin and I create a main configuration to build the graph and the server. Once I run it, it gives me the following ...
0
votes
1
answer
494
views
OpenTripPlanner: Get GTFS and OSM data
I've managed to install OTP on my computer using Git Bash. I was trying to follow the OTP Basic Usage to get some data, but I cannot do it.
Can someone explain me how to do it? Or maybe give a link ...
0
votes
1
answer
331
views
Is it possible to exclude stops from routing through the code in OpenTripPlanner?
I try to exclude a stop from routing through the code.
I create gtfs realtime Alert
public class ServiceAlertStop {
GtfsRealtime.FeedMessage feedMessage;
public GtfsRealtime.FeedMessage config()...
0
votes
1
answer
384
views
An empty polygon generated with OpenTripPlanner generates error with .is_empty Shapely instruction
I have an isochron polygon generated with OpenTripPlanner:
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[]},"properties":{"time":-47},"id":...
0
votes
1
answer
959
views
Extend Open Trip PLanner function
i'm a developer and i'm working on a app about smart mobility.
Into smart mobility i woul like to use a intermodal routing and i have seen that open trip planner is a good open source product to work. ...
1
vote
0
answers
679
views
Parallelizing for loop calling OpenTripPlanner
I have a python script that calls OpenTripPlanner to calculate a travel time matrix between pairs of geolocated points. The python script uses a for loop to calculate one matrix for every departure ...
1
vote
1
answer
809
views
OpenTripPlanner: How to run standalone instance on a port different from default 8080?
I use this command to get the Grizzly server running:
java -Xmx6G -jar otp-0.19.0-shaded.jar --build Data --inMemory
and it successfuly runs the Grizzly server on 8080. But because I have want to now ...
0
votes
1
answer
122
views
Open trip planner internal algorthim
i know this might look silly, but i am a student really need help to completely understand how the OTP works , code , classes for a school research
any recommendation from where to start or what to ...
1
vote
1
answer
93
views
Routers not getting listed
I started
java -Xmx512M -jar /home/ec2-user/OpenTripPlanner/otp-0.20.0-20160422.165451-50-shaded.jar --basePath /home/ec2-user/OpenTripPlanner --server
I have this in the base path
[ec2-user@ip-172-...
0
votes
1
answer
513
views
Using GTFS real time feed
I am trying to use GTFS real time updates and have otp version - otp-0.19.0-SNAPSHOT-shaded.jar but, it doesn't have Configuration.md file which contains router-config.json. Please suggest how can i ...
0
votes
1
answer
110
views
GTFS fares allocation depending on time
How can I allocate GTFS fares depending on the time e.g. off-peak/peak times?
0
votes
1
answer
1k
views
OTP encoded polyline same as Google encoded polyline?
I have been researching and trying to make sense. My question: are the encoded polylines that Google gives in its directions api same as the leg geometry encoded polylines of Open Trip Planner?
2
votes
2
answers
1k
views
Opentripplanner Graph.obj file not found error
Trying to run the opentripplanner and using the Graph.obj to run it for a country.
But whenever trying to run the server it is giving the filenotfound exception at location /otp/Graph.obj although i ...
2
votes
1
answer
2k
views
How to use GTFS-realtime in OpenTripPlanner standalone?
I developed a tool to convert german transit data into GTFS and GTFS-realtime.
Now I've got the task to test these files in OTP and I installed this standalone Version:
https://github.com/...
0
votes
1
answer
476
views
Run the opentripplanner project on local machine
I have cloned the git code of open tripplanner. Also build it using maven tool but not able to run it.
Specify the command or the entry point to run the code on local machine.
0
votes
1
answer
731
views
OpenTripPlanner getting started tutorial error
I'm trying to install OpenTripPlanner following the official tutorial.
I've correctly cloned the git repository, then I import the project in Eclipse but it is unable to build all the packages. One ...
4
votes
0
answers
2k
views
GTFS in OpenTripPlanner
Iam Working on a tripplanner, i got a problem, that my GTFS won't work.
The OSM files is loaded in correctly, the tripplanner now makes the fastest route from point A to B, but it does not take busses ...
0
votes
1
answer
864
views
Get location coordinates using opentripplanner geocoder
I installed opentripplanner and want to use its geocoder to get coordinates by location name. However, I neither found any info of how to use it nor any examples.
Could someone provide an request to ...
0
votes
1
answer
97
views
Upload OTP(opentrip planner ) based Journey planner on cloudbees
I have developed a journey planner app using opentripplanner (its a java based server). Now i want to put my server online using Cloudbees, but i don't know how I can achieve this. Kindly help me out ...
2
votes
2
answers
989
views
How to calculate distance from point A to point B taking into account the availability of roads and public transport?
Imagine I have a PostGIS database with following pieces of information
OSM (OpenStreetMap) of a city,
the roads/streets inside the city and
the routes of public transport in that city.
I want
to ...