Add a connector to GeoEvent Processor to connect to General Transit Feed Specification (GTFS) realtime feeds.
Hello Brandon. This may not help you at this late date, but here is a script that connects GTFS-rt with GeoEvent:
public-transit-tools/send-GTFS-rt-to-GeoEvent at master · Esri/public-transit-tools · GitHub
You can now bring live feed of transit vehicles in your city into ArcGIS GeoEvent server using the GTFS Realtime Connector for GeoEvent.
This connector supports three different GeoEvent definitions. (Alerts, Position and trip update)
You can also customize this based on your requirement.
This connector and the tutorial can be downloaded from the following location:
Feel free to post your comments, questions and valuable feedback here.
Hope this info helps.
Sagar Ayare | Product Engineer
Great to see this new GTFS connector has been created. I see in the documentation that you need must filter the input based on a single GTFS feed type. One thing that I want to be able to do is join/append the trip update feed information to the position feed so that I can create a single Stream Service that has the vehicle positions with the delay time (from trip update) as a field (in theory joining on the common trip_id). Is there a suggested workflow for this? Up until now I have been on a GeoEvent 10.3 environment where I have been able to set up a Stream Service to output the position data and enrich with route information (based on route data in csv as a test) no problem, however I have been unsuccessful in appending the trip_update information to the Stream Service. We will be updating to 10.5 shortly so I suspect there may be more possibilities around how this can be achieved but it would be good to know if there is an obvious way that this could or should be done?
Thanks a lot
The use case that you described is possible using GeoEvent Server 10.5.
You need to bring in trip update data, pass it through field mapper (to flatten the schema) and then write to trip update feature service.
You also need to bring the vehicle position data and enrich it with the fields related to delay from trip update feature service. Once enriched you can write it to spatiotemporal big data store map & feature service.
The following link has the configuration for GTFS to support your use case.
GeoEventConfigs/GTFS-realTime-OCTA at master · sagarayare/GeoEventConfigs · GitHub
This configuration brings in transit feeds data from OCTA (Orange County Transportation Authority) It also enriches the trip delay data based on TrackID (in this case it is the vehicle Id ) with the vehicle position data.
Here's the snippet of the GeoEvent service
Note: For simplicity, I have both the inputs (trip update & vehicle position) in the same GeoEvent service. However, this can lead to race condition. So, for production environment it is recommended to have separate GeoEvent services.
The GTFS connector for GeoEvent is now updated (release 3) to support data incoming in text format.
This version will be updated on the GeoEvent gallery shortly.
Hope this helps !
ESRI Redlands, CA
Retrieving data ...