Questions tagged [gtfs]

The General Transit Feed Specification (GTFS) defines a common format for public transportation schedules and associated geographic information.

The General Transit Feed Specification (GTFS) defines a common format for public transportation schedules and associated geographic information. GTFS "feeds" allow public transit agencies to publish their transit data and developers to write applications that consume that data in an interoperable way. GTFS-realtime is an extension to GTFS that allows public transportation agencies to provide realtime updates about their fleet to application developers.

273 questions
0
votes
1 answer

GTFS - Improving search for trips in two feeds

I'm currently working on a java program that takes in two feeds and prints out the trips that are missing in either of the feeds or are partially in it. For example Feed 1 has a trip T1 with the stops ABCDE and Feed 2 has a trip T2 with the stops…
Kazanagi
  • 35
  • 5
0
votes
1 answer

How to search from multiple values in single field (Bus Stops in GTFS)?

In the GTFS data for Denver, the BUS_STOPS table stores multiple comma-separated values in the ROUTES column: 28, 19, 44, 10, 32 I'm selecting BUS_ROUTES that are within a distance of a school. But to select the corresponding stops along those…
DPSSpatial
  • 767
  • 3
  • 11
  • 31
0
votes
1 answer

GTFS Data Feed Server

I am taking a drive into GTFS (and only a couple months into learning Android coding). I signed up as a Developer for my transit system and received a key for their GTFS data download. However, they require that you download the GTFS data to your…
DC5Gator
  • 65
  • 1
  • 9
0
votes
1 answer

Trouble plotting coordinates in degrees in matplotlib

So, I am currently working on GTFS data that I have imported into python. I have this table bronx_frequencyTable that contains longitudinal coordinates in shape_pt_lon and shape_pt_lat. However, when I run the following code: for index, row in…
user1834200
  • 152
  • 1
  • 13
0
votes
1 answer

Change SQL time format to HH31:MI:SS

I would like to insert a time value in the format of HH31:MI:SS instead of the typical HH24:MI:SS. This format is not mine, the GTFS allows hours over than 24. For example, insert into stop_times values((to_date('28:20:02", "HH31:MI:SS")),…
George
  • 194
  • 2
  • 5
  • 13
0
votes
1 answer

errors in validating GTFS files files are not found

every time i enter my zip folder in the validation tool , i receive this error for all 6 required files , although they are included The file named dina/agency.txt was not expected. This may be a misspelled file name or the file may be included in…
Dina Magdy
  • 15
  • 4
0
votes
4 answers

Parse GTF File from Gencode

I wrote a script using the data.table package to parse out the last column of a GENCODE gtf file. The column, for those unaware, contains a handful of key-value items separated by a semi-colon for each row. The particular file I'm working with…
abbas786
  • 401
  • 3
  • 11
0
votes
1 answer

Make Calendar File when Time Duration is in Days

I am working on Jakarta Non-GTFS source and I am facing a weird issue for ferry transportation. The departure time is 6:00 AM on 22-feb-2016 and arrival time is 8:00 PM on 27-feb-2016. Any suggestions on how do we convert this to GTFS format. I have…
0
votes
1 answer

gtfs-realtime-bindings in angularjs

Reading through the GTFS-Realtime, I came across these code samples, with Javascript in the list. The gtfs-realtime-bindings module happens to read gtfs.zip files properly and interpret them appropriately. I want to use the package in my angular…
KhoPhi
  • 9,660
  • 17
  • 77
  • 128
0
votes
1 answer

Mapping theoretical transit options

my area is building a new transit line, and I'd like to "add" it to trip planners for comparison's sake. Before I dive into Mapbox and reinvent the wheel, is there any way to add or reference a GTFS file from within an existing app, say, Google…
Lennix
  • 1
  • 1
0
votes
1 answer

How do I group stops into a parent station in GTFS?

In GTFS (defines public transportation schedules and geographic information), a station (parent_station) contains several stops (stop_id). I am analyzing Paris GTFS data. All parent_station fields are blank value. mysql> SELECT DISTINCT…
SparkAndShine
  • 17,001
  • 22
  • 90
  • 134
0
votes
1 answer

Optimizing SQLite Inner Join Query - Android

I am working with GTFS and trying to figure out a way to speed up my inner join. The tables "Trips" and "StopTimes" have a common column "TripID" and the tables "StopTimes" and "Stops" have a common column "StopID". The inner join retrieves all…
Yenvanio
  • 17
  • 1
  • 6
0
votes
1 answer

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 get a newer version of otp jar file or can…
0
votes
1 answer

GTFS fares allocation depending on time

How can I allocate GTFS fares depending on the time e.g. off-peak/peak times?
WLedwaba
  • 21
  • 3
0
votes
2 answers

Why does my GTFS data contain "invisible" line breaks?

So I've been looking at a way to import GTFS data into an SQLdb for my application. I found a solution available on GitHub. But, this is written using python. I don't think I can use this directly in my windows application. Please correct me if I am…
Barry66
  • 49
  • 5