public-transport / gtfs-rt-inspector Goto Github PK
View Code? Open in Web Editor NEWWeb app to inspect & analyze any GTFS Realtime feed.
Home Page: https://public-transport.github.io/gtfs-rt-inspector/
License: ISC License
Web app to inspect & analyze any GTFS Realtime feed.
Home Page: https://public-transport.github.io/gtfs-rt-inspector/
License: ISC License
https://proxy.transport.data.gouv.fr/resource/sncf-ic-gtfs-rt-trip-updates
"inspector" section shows TripUpdates, but "log" section doesn't show their StopTimeUpdates.
Analyses that would probably be useful:
gtfs-rt-inspector
uses gtfs-rt-bindings
, which in turn uses protocol-buffers
. Unfortunately, it parses missing optional numeric fields as 0
instead of null
(or undefined
), so we can't distinguish a missing delay
value from a delay
of 0
.
We should either fix this in protocol-buffers
, or consider using gtfs-realtime-bindings
.
We should add a "first steps" view that explains
vehicle.(id, label, license_plate)
& trip.(trip_id, route_id, start_date, start_time)
)gtfs-rt-inspector/stores/feed.js
Lines 60 to 62 in 8731163
The configured interval should also be added to the URL.
Hi there,
Thank you so much for providing and maintaining this repository.
Do you happen to have an example call for
https://public-transport.github.io/gtfs-rt-inspector/
to see it in action with an example GTFS Realtime feed that I can expect to work?
I tried a few example GTFS Realtime feeds from this catalogue without success.
Cheers!
GTFS-ServiceChanges v3.1 has several new features:
- GTFS-TripUpdates v3 extends GTFS-TripUpdates to change values on a trip object, either by directly providing the new values (e.g. new trip headsign or new trip short name) or by referencing another entity already defined in the (CSV) GTFS (e.g. a shape, a route, or platform). The only limitations being that no stop time can be added, and all stop_id and stop_sequence pairings in the TripUpdate must match the same GTFS static trip (it is allowed to have SKIPPED stops within a TripUpdate, as the stop_sequence for the stops do not change).
- GTFS-NewTrips allows defining completely new trips in real-time, which is useful for replacement shuttles, unplanned event-specific shuttles, or detours that change the stop_sequences of a trip.
- GTFS-NewShapes allows adding new shapes in real-time, which is useful, for example, when a road is closed and therefore the path of the vehicle wonβt be the same as planned, or when a trip is shortened by having an early terminus.
- GTFS-NewRoutes allows adding new routes in real-time, which is useful, for example, when a bus replacement shuttle does the same trip as the service itβs replacing, but with a bus.
- GTFS-NewStops allows adding new stops in real-time, which is useful when a bus replacement shuttle stops at a street corner without bus stop, or when a stop is moved for unplanned reason (e.g. demonstration, road accident, emergency work). GTFS-NewStops must be used with GTFS-NewTrips - new stops cannot be used in TripUpdates.
- GTFS-ServiceUpdates allows activating or deactivating service in real-time, which is useful for disabling or enabling many trips at the same time, such as planned services for unexpected occasions (e.g: snow bus routes, light-rail diversion in case of demonstration downtown).
The feed could be decoded as Protocol Buffers TextFormat or JSON to allow debugging specific values in the feed.
This looks cool!
Could you add an OSS license so everyone knows what the code is licensed under?
Hi ππ»
First and foremost, thanks for building this great tool!
I'm experiencing an issue when trying to inspect a .pb file of the GTFS RT of the Netherlands (http://gtfs.ovapi.nl/nl/vehiclePositions.pb)
When inspecting the dev tools I can see in the network tab that the request to fetch the file goes wrong, it might be the CORS policy, not sure.
Any idea how we can solve this?
The UI should show that an error occurred fetching the feed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.