Version 5 (modified by 4 years ago) ( diff ) | ,
---|
Public Transport GTFS
This preset adds additional tags for public transportation tagging. One major part are tags to use with GTFS and PTNA.
Help needed
- Please, feel free to enhance and update the preset.
- Due to #11392 translation is still only possible within the source code.
- I'd love some nice icons.
Notes
- This tagging schema is still under heavy development and therefore the preset might change in near future.
- Watch out: Due to #19392 it is dangerous to use the preset links within the presets if opened from the relation editor.
Supported Tags
Source code
<?xml version="1.0" encoding="UTF-8"?> <presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" link="https://josm.openstreetmap.de/wiki/Presets/PublicTransportGtfs" author="skyper" shortdescription="Public Transport GTFS" description="Additional tags for public transportation including tags for GTFS and PTNA" version="0.0.35_2021-07-07"> <!-- Chunks --> <chunk id="fee"> <combo key="fee" text="Fee" values="yes,no" /> </chunk> <chunk id="oh_cond"> <text key="opening_hours" text="Opening hours" /> <text key="duration:conditional" text="Conditional duration" /> <text key="interval:conditional" text="Conditional interval" /> <reference ref="fee" /> <item_separator /> </chunk> <chunk id="short"> <text key="network:short" text="Common short network" /> <text key="operator:short" text="Common short operator" /> <item_separator /> </chunk> <chunk id="gtfs_name"> <text key="gtfs:name" text="GTFS name" match="key" /> </chunk> <chunk id="feed_guid"> <text key="network:guid" text="General unified network id" match="key" /> <text key="operator:guid" text="General unified operator id" match="key" /> <text key="gtfs:feed" text="General GTFS feed" match="key" /> <text key="gtfs:source_date" text="Date of the GTFS source" match="key" /> <reference ref="gtfs_name" /> <item_separator /> <reference ref="short" /> </chunk> <chunk id="route_id"> <space /> <text key="gtfs:route_id" text="GTFS route id" match="key" /> </chunk> <chunk id="shape_id"> <text key="gtfs:shape_id" text="GTFS shape id" match="key" /> </chunk> <chunk id="note_gtfs"> <text key="note:gtfs" text="Note about GTFS" match="key" /> </chunk> <chunk id="source_note"> <text key="website" text="Website" /> <text key="source" text="Source" /> <reference ref="note_gtfs" /> </chunk> <chunk id="stop_all"> <text key="ref:IFOPT" text="IFOPT reference" /> <text key="ref:IFOPT:description" text="IFOPT description" /> <reference ref="gtfs_name" /> <item_separator /> <reference ref="short" /> <space /> <reference ref="note_gtfs" /> <space /> </chunk> <chunk id="stop"> <space /> <text key="local_ref" text="Local reference" /> <reference ref="stop_all" /> </chunk> <!-- Group --> <group name="GTFS" icon="presets/transport/bus.svg"> <item name="Stop - GTFS" icon="presets/transport/stop_position.svg" preset_name_label="true" type="node"> <reference ref="stop" /> <space /> <preset_link preset_name="Stop Position" /> </item> <item name="Platform - GTFS" icon="presets/transport/platform.svg" preset_name_label="true" type="node,way,closedway,multipolygon"> <reference ref="stop" /> <space /> <preset_link preset_name="Platform" /> </item> <separator/> <item name="Stop Area - GTFS" icon="presets/misc/interpolation.svg" preset_name_label="true" type="relation"> <space /> <reference ref="stop_all" /> <space /> <preset_link preset_name="Stop Area" /> </item> <separator/> <separator/> <item name="Route - GTFS" icon="presets/misc/route.svg" preset_name_label="true" type="relation"> <reference ref="route_id" /> <reference ref="shape_id" /> <reference ref="feed_guid" /> <reference ref="oh_cond" /> <reference ref="source_note" /> <space /> <preset_link preset_name="Public Transport Route (Bus)" /> <preset_link preset_name="Public Transport Route (Rail)" /> </item> <item name="Route Master - GTFS" icon="presets/misc/route.svg" preset_name_label="true" type="relation"> <reference ref="route_id" /> <reference ref="feed_guid" /> <reference ref="fee" /> <reference ref="source_note" /> <space /> <preset_link preset_name="Route Master" /> </item> <separator/> <item name="Route (Ptv1) - GTFS" icon="presets/misc/route.svg" preset_name_label="true" type="way,closedway,relation"> <reference ref="route_id" /> <reference ref="feed_guid" /> <reference ref="oh_cond" /> <reference ref="source_note" /> <space /> <preset_link preset_name="Public transport route (Legacy)" /> </item> </group> </presets>
Presets_PublicTransportGtfs-preset.xml, Presets_PublicTransportGtfs.zip
Note:
See TracWiki
for help on using the wiki.