Open toreueland opened 1 month ago
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.
transit_net <- r5r::transit_network_to_sf(r5r_core)
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 gtfstools
package to check the feed. https://ipeagit.github.io/gtfstools/articles/validating.html
I've run the valdidator and I do get some warnings. Not sure what to make of all of these, so I have listed some here:
Probably due to extended route types.
I have tried the same gtfs data on gtfsrouter and Network Analyst for ArcGIS Pro and it seems to work fine.
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.
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.
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: 1004,Local Car Ferry Service 1014,Passenger High-Speed Ferry Service
You can find that these route types were mentioned once in google groups discussions but were not included in the extended route types list.
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