Questions tagged [gtfstools]

6 questions
1
vote
1 answer

Problem for reading UTF-8 file with gtfstools

I'm trying to open a GTFS file that has UTF-8 encoding, but even though I changed my project's encoding in R to UTF-8, the characters are still truncated. The problem can be seen in the "stop_name" column. I'm using windows 10 and I know there are…
Igor
  • 145
  • 8
0
votes
0 answers

How do I upload a zipped file to Posit Cloud without it automatically unzipping?

I am trying to read a GTFS file in RStudioCloud. The function read_gtfs() from package {gtfstools} requires a zipped file as input. However, when I upload the zipped GTFS file to RStudioCloud, it automatically unzips and opens the file. I can't find…
Monelisa
  • 3
  • 2
0
votes
0 answers

How can i extract all trips of one stop on one specific day of a GTFS-DB

List all trips of one stop of one day I used this SQL-Command to extract all stops. SELECT r.route_short_name, st.arrival_time, st.departure_time, t.trip_id, st.trip_id, t.service_id, cd.date , cd.service_id , c.service_id FROM stop_times st JOIN…
GulfSo
  • 13
  • 4
0
votes
2 answers

Is there a way to specifically filter out buses with certain name from GTFS?

I am dealing with some tricky GTFS from Belgian public transport operator De Lijn, which somehow added belbus (demand-response buses) as a bus route that comes every hour on their GTFS, making some poorly served countryside misleadingly appear as a…
Kloot Zak
  • 3
  • 2
0
votes
1 answer

Travel time with GTFS

I have a GTFS file for Mexico City downloaded from transitland. Here is a link to the file I am using in my code. I want to use the GTFS to calculate travel times. Nevertheless, the GTFS does not seem to work with any of the R-based libraries…
Orlando Sabogal
  • 1,470
  • 7
  • 20
0
votes
1 answer

OneBusAway GtfsReader.setAgencies() does exactly the opposite of what would be expected

What we want to achieve: We need to parse GTFS files but are only interested in a few agencies inside of that GTFS file. Since parsing the GTFS file takes quite a long time (depending on how many agencies/routes/trips are included in that GTFS…
Florian Baierl
  • 2,378
  • 3
  • 25
  • 50