Key:gtfs:feed
![]() |
Description |
---|
Used in public transportation mapping in situations where the GFTS data source (feed) is not from the operator or network. ![]() |
Group: public transport |
Used on these elements |
Useful combination |
See also |
Status: deprecated![]() |
Tools for this tag |
|
The key gtfs:feed=*
was used in public transportation tagging in situations where the GTFS data source (feed) is not provided by the operator=*
nor the network=*
and therefore operator:guid=*
and network:guid=*
are inappropriate.
The key has been deprecated in favour of adding its value as a suffix to the keys of other GTFS tags, to be able to reference objects of multiple feeds. However, in practice gtfs:feed=*
is still widely used as the preferred method.
For example, the combination gtfs:feed=NL-OVApi
+ gtfs:stop_code=nm
becomes gtfs:stop_code:NL-OVApi=nm
.
PTNA needs it to find the corresponding feed if gtfs:route_id=*
is present on a public transport relation type=route_master
or if one of gtfs:route_id=*
, gtfs:shape_id=*
, gtfs:trip_id:sample=*
or gtfs:trip_id=*
is present on a public transport relation type=route
. Order of evaluation: gtfs:feed=*
, operator:guid=*
, network:guid=*
if one of them is not set.
Value Syntax
The Syntax is the same as operator:guid=*
and network:guid=*
and follows the ISO 3166-1 alpha-2 on Wikipedia codes, with some exceptions.
Examples
gtfs:feed=DE-SPNV
- the feed is from the German Railway organizationDeutsche Bahn AG covering Germany, see GTFS data on PTNA.
gtfs:feed=DE-BY-MVV
- the feed is fromMunich Transport and Tariff Association (MVV) network in the German state Bavaria, see MVV GTFS data on PTNA.
gtfs:feed=DE-BW-SBG
(example) - the feed is fromSüdbadenbus GmbH (SBG), an operator in the German state Baden-Württemberg, see SBG GTFS data on PTNA.
Visualization
- PTNA represents
gtfs:feed=*
on its pages about GTFS trips and in the network analysis (overview) under the tags summary.