GTFS-Flex

Descrizione breve

Che cos’è GTFS-Flex?

Una descrizione dettagliata della specifica generale di alimentazione del transito (GTFS(-Static)) è disponibile QUI. Il GTFS descrive fondamentalmente gli orari del trasporto pubblico e le informazioni geografiche associate, come l’ubicazione delle fermate.

Nel corso del tempo sono state definite diverse estensioni. Una delle estensioni è GTFS-Flex (in inglese). GTFS-Flex deve essere utilizzato di conseguenza con GTFS-Static.

Chi c’è dietro?

GTFS-Flex è stato progettato per facilitare la ricerca di servizi di trasporto su richiesta.

Con la sua accettazione il 18 marzo 2024, GTFS-Flex è passato da “proposta” a estensione ufficiale di GTFS-Static.

Perché la piattaforma Open Data offre questo?

Per conto dell’Ufficio federale dei trasporti (UFT), l’ufficio System Tasks Customer Information Plus (SKI+) si propone di fornire il maggior numero possibile di standard attuali.

Oltre a GTFS-Flex, offriamo anche i servizi on-demand come NeTEx.

Descrizione del funzionamento

Quali informazioni vengono mappate con GTFS-Flex? (estensione)

GTFS-Flex estende GTFS in quanto consente di visualizzare le diverse forme di offerte on-demand. Questi includono: trasporto di linea su richiesta, trasporto di corridoio su richiesta e trasporto di superficie su richiesta. Per saperne di più, consultare il concetto tecnico On-Demand (vedi ulteriori informazioni).

Inoltre, l’estensione consente di mappare le aree di servizio (aree geografiche) importanti per il trasporto di zona e di mappare i servizi come finestre temporali (invece di orari fissi di partenza e arrivo).

Come sono strutturate le informazioni? (il modello)

Come GTFS, GTFS-Flex è composto da diversi file. Abbiamo inoltre adattato lo standard per includere alcuni aspetti rilevanti per la Svizzera e li abbiamo riassunti in un profilo svizzero (vedi ulteriori informazioni).

Descrizione tecnica

La tabella seguente è tratta dal profilo GTFS svizzero. Il profilo è considerato un master.

 

NoFilenameRequiredDefinition
1agency.txtRequiredTransit agencies with service represented in this dataset
2stops.txtRequiredStops where vehicles pick up or drop off riders. Also defines stations and station entrances.
3routes.txtRequiredTransit routes. A route is a group of trips that are displayed to riders as a single service
4trips.txtRequiredTrips for each route. A trip is a sequence of two or more stops that occur during a specific time period.
5stop_times.txtRequiredExtended and modified file to include time-windows that a vehicle picks up and drops off at stops or location groups/areas.
6calendar.txtConditionally RequiredService dates specified using a weekly schedule with start and end dates. This file is required unless all dates of service are defined in calendar.txt
7calendar_dates.txtConditionally RequiredExceptions for the services defined in the calendar.txt. If calendar.txt is omitted, then calendar_dates.txt is required and must contain all dates of service.
8transfers.txtOptionalWhen calculating an itinerary, GTFS-consuming applications interpolate transfers based on allowable time and stop proximity
9feed_info.txtOptionalThis file contains information about the dataset itself, rather than the service the dataset describes
10booking_rules.txtRequiredNew file that defines the booking rules / requirements that must be met for a successful booking
11locations.geojsonRequiredNew GeoJSON (and non-CSV) formatted file that allows defining Zones using Polygons and MultiPolygons (for Zones with “holes”).
12location_groupsRequiredNew files to allow grouping of stops which allow predetermined groups of these features to be specified on individual rows of stop_times.txt.

This file specifically defines the group.

13location_group_stopsRequiredNew files to allow grouping of stops which allow predetermined groups of these features to be specified on individual rows of stop_times.txt.

This file specifically defines the mapping of the groups from location_groups to stops.

Ulteriori indicazioni

Restrizioni

  • GTFS-Flex non copre tutti gli aspetti dei servizi on-demand, ed è per questo che si sta cercando un’estensione di GTFS-Flex (quindi un’estensione dell’estensione): https://share.mobilitydata.org/gtfs-ondemand
  • GTFS-Flex, come gli altri standard GTFS-*, non offre un meccanismo di prenotazione, vale a dire nessuna informazione sul prezzo.

Ulteriori indicazioni