-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transit mode not used, problems with GTFS data? #388
Comments
What is the period of reference of your GTFS when you look inside the calendar.txt file ? |
Hi, thanks for the very quick reply. Most routes seem to have a start date from around the middle of may 2024 to december 2024 for the data I have downloaded. I have tried many alternative departure dates, and times, but to no avail. |
I extracted the public transit net to have a look at it. Here, I only have the Kolumbus net imported.
I only see one route opening the transit_net under "Data" in R Studio. Meanwhile for the POA data there are many other routes: Not sure what the issue is here. |
This looks like an issue with your GTFS data. I'd recommend using the |
Humm. Interesting. Does your Kolumbus GTFS use extended route types? |
Yes, I tried editing them to be "normal route types" but it didn't seem to fix the issue. A solution I found was to use "processed" datasets from gtfs.pro. This works fine, but I don't really know what the issue is. |
Hmmm. I don't really know either. But apparently it's an issue with the GTFS feed and not with r5r. |
Hi, thanks for using gtfs.pro. I am responsible for cleaning and data correction at gtfs.pro. What we do here is fix extended route types that are not compliant with the GTFS reference. In this case, these two route types were assigned route_type=4: You can find that these route types were mentioned once in google groups discussions but were not included in the extended route types list. |
@toreueland, did you manage to solve the issue? I encounter the same problem while working on GTFS data for Germany from DELFI. |
@marsatyar , what kind of route types exist in your GTFS feed ? |
@marsatyar I used gtfs datasets from gtfs.pro, which worked fine. Seems like it's now called busmaps.com. |
how about you, @marsatyar ? What kind of route types exist in your GTFS feed ? |
It consists of various transit modes operating throughout Germany, including bus, rail, including local metro, commuter, regional, and long-distance services, as well as tram and ferry services. But in my case, I am focusing on finding the travel time matrices specifically for commuter rail service, neglecting the multimodal aspect of the algorithm. Hence, instead of running based on the timetable from my GTFS feed, it uses the walking speed, resulting in an unrealistic travel time. I needed help figuring out what the culprit was here. Is it an overshooting using R5 for the abovementioned case? |
@marsatyar , if you're only interested in travel times by commuter rail services, the simplest solution that comes to mind would be to edit the GTFS feed to remove all other modes. Then , running |
@rafapereirabr I tried to edit the GTFS feed, but it chose the walking route again instead. How about the road network (.pbf)? Should I also replace it with only the railway network? |
You don't need to edit the OSM data. This could be happening because of the date you used in the departure time and the dates included in the GTFS. Please have a look at this questions in our FAQ. |
Brief description of the problem:
When running analyses using the transit mode, either the analysis freezes up or only the walking mode is used, i.e. the results are exactly the same as with "WALK" selected. The example data from Porto Alegre seems to work fine, so I suspect there's an issue with the GTFS files.
Data
All the data seems too large to upload here, but i'm using osm and height data for the province Rogaland in Norway.
NJ_100m.csv
Points on a 100 meter grid for the area. Not sure if I can publish the oppertunity data freely so those are randomized.
GTFS Kolumbus
GTFS Go-Ahead Nordic
Code
Result
This should in reality be a short train trip. I have tested many other locations and ran the accessibility analysis, but i'm facing the same problem.
The GTFS files have the same feed_info. I don't know if this can pose problems but I have tried editing one of them to a placeholder. I have also tried, for example, editing the route_type as I noticed that this GTFS data uses Extended route types. I noticed the example data set provided uses the basic ones, e.g. bus = 3, so I have tried editing them, but this did not fix the issue.
Situation report
The text was updated successfully, but these errors were encountered: