Public transport stops: PTv1 and PTv2 tagging #1166
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#1166
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This stops are not visible - same as in the default osm.org render :)
https://www.openstreetmap.org/node/342064729
https://www.openstreetmap.org/node/3447584721
Process public_transport=stop_position + bus=yes/trolleybus=yes/tram=yes like current railway=tram_stop or highway=bus_stop.
This points are usually placed on a road, which is ok for tram but not good to draw bus_stops on highways ..
More enhanced way is also process "connected" public_transport=platform.
If you do so, without special processing you'll get many duplicate features, since often there is a stop_position on the way as well as a bus_stop beside the way. In Minsk 2090 bus stop_positions out of 2168 has a bus_stop in 30m vicinity: http://overpass-turbo.eu/s/1aA8
Old tags are not deprecated so a legal solution would be to add highway=bus_stop tag on bus platforms in OSM for buses; to add railway=tram_stop in OSM on what is tagged public_transport=stop_position + tram=yes, or consider the latter combination to be a tram_stop during data processing for trams.
@alexey-zakharenkov I understand that, and of course it should be done for the stops without old PT1 tags. And I already consulted with Belarus community and they confirmed to add PT1 tags into OSM.
Just want to make clear that we can ignore
public_transport=stop_position
most of the time as its not meant to mark a place where passengers wait for a ride - there is apublic_transport=platform
for this. If onlypublic_transport=stop_position
is used to mark e.g. a bus stop then its a mapping mistake clearly.@alexey-zakharenkov
Serial PT data contributor here. Duplicate tagging (
public_transport=platform
+bus=yes
+highway=bus_stop
) creates ugly duplication in OSM data. Is there any reason for Organic Maps to not renderpublic_transport=platform
+bus=yes
the same way as it doeshighway=bus_stop
(and so on) while ignoring stop positions, as suggested earlier?@pastk didn't we fix that already?
Nope, we just discussed it a few times.
Here are some distinct cases to take into account.
Buses:
public_transport=stop_position + bus=yes
andpublic_transport=platform + bus=yes
nearby (mistagging)https://www.openstreetmap.org/way/369658503
https://www.openstreetmap.org/node/8836094327
public_transport=stop_position + bus=yes + highway=bus_stop
andpublic_transport=platform + bus=yes
nearby (mistagging)https://www.openstreetmap.org/way/572852998
public_transport=stop_position + bus=yes + highway=bus_stop
andpublic_transport=platform
nearbyhttps://www.openstreetmap.org/relation/5261227
public_transport=stop_position + bus=yes
andpublic_transport=platform
nearbyhttps://www.openstreetmap.org/node/3045704079
public_transport=stop_position + bus=yes + highway=bus_stop
andpublic_transport=platform + bus=yes + highway=bus_stop
nearby (mistagging, bus_stop is duplicated already)https://www.openstreetmap.org/node/993991364
https://www.openstreetmap.org/node/8736010736
Trams:
public_transport=stop_position + tram=yes
andpublic_transport=platform + railway=platform
nearbyhttps://www.openstreetmap.org/node/6286579023
public_transport=stop_position + tram=yes + railway=tram_stop
andpublic_transport=platform + railway=platform
nearbyhttps://www.openstreetmap.org/node/2294305596
public_transport=stop_position + tram=yes + railway=tram_stop
andpublic_transport=platform + railway=platform + tram=yes
nearby (mistagging)https://www.openstreetmap.org/way/190633231
Trains:
public_transport=stop_position + railway=stop + train=yes
andpublic_transport=platform + railway=platform
andrailway=halt
nearbyhttps://www.openstreetmap.org/way/93768246
public_transport=stop_position + train=yes
andpublic_transport=platform + railway=platform + train=yes
andrailway=station
nearby (mistagging)https://www.openstreetmap.org/way/997146474
I don't know frequency of those cases. And most of them are at different degrees of mistagging. Only 3, 4, 6, 7 and 9 look tagged properly (PTv2 or a mixture with PTv1).
E.g. converting
public_transport=platform + bus=yes
intohighway=bus_stop
will fix case 1 (no stop is displayed atm), but will lead to duplication in case 2.Though I think that case 1 is much more common than 2 and is better to display duplicated icons than don't display anything.
It is possible to detect/list these duplicates at the generation stage, and even to fix all of them worldwide (if necessary) using this list. Manually, of course.
@pastk as a note,
public_transport=platform
+<method_of_transportation>=yes
is valid taggingThe original PTv2 proposal seemingly doesn't mention it for platforms, but that's the de-facto usage.
(~73% of
public_transport=platform
are also tagged withbus=yes
)https://taginfo.openstreetmap.org/tags/?key=public_transport&value=platform#combinations