osm-relatify icon indicating copy to clipboard operation
osm-relatify copied to clipboard

Platforms and stops gets removed from existing relation

Open Hidooo opened this issue 2 years ago • 6 comments

I have tried out the tool on a couple of routes, but either platforms or stops seem to get removed from the relation after uploading the changeset to OSM. I also can't click on both platform and stop_position for the same bus stop, it seems to be either or. This unfortunately makes the tool unusable on routes that are somewhat mapped already, but just need a bit of correction of the ways. The relations in question are 2919652 (fixed by me afterwards, but you can see all the platforms/stop_positions that relatify removed in the history) and 2726495 (not fixed by me afterwards). Am I doing something wrong or is there a bug in the tool? I compared two bus stops that were tagged identically, and one of them (11151650) somehow got both platform and stop_position included in the relation, while the other (11165954) only got the stop_position included.

Hidooo avatar Aug 08 '23 09:08 Hidooo

  1. Cases like those are only supported, when highway=bus_stop is mapped off the road:

image

  1. When discussing cases such as the one at https://www.openstreetmap.org/way/164510362, the primary issue causing Relatify to struggle lies in its treatment of highway=bus_stop as the most significant feature of all. This level of importance attributed is much more explicit compared to the platform mentioned. It's worth noting that once a highway=bus_stop tag is identified, it is implicitly regarded as public_transport=platform, even when it represents a stop_position. This decision is made to accommodate some commonly used but poorly tagged instances, which account for a substantial portion (16%).

image

I can only suggest an improvement in bus tagging in this area. Here is some useful documentation:

  • https://wiki.openstreetmap.org/wiki/Tag:highway%3Dbus_stop
  • https://wiki.openstreetmap.org/wiki/Tag:public%20transport=platform
  • https://wiki.openstreetmap.org/wiki/Tag:public_transport%3Dstop_position
  • https://wiki.openstreetmap.org/wiki/Tag:route%3Dbus

In summary, I would recommend recommend to follow the highway=bus_stop documentation which states:

The highway=bus_stop tag is widely used on a node off to one side of the highway way to identify the position where passengers wait for a bus beside the carriageway.

Having highway=bus_stop at the same node as public_transport=stop_position is slightly confusing and should be improved on (passengers do not wait on the road).

Zaczero avatar Aug 19 '23 10:08 Zaczero

Let me provide a good example:

  • https://www.openstreetmap.org/node/7356621639

Ideally, https://wiki.openstreetmap.org/wiki/Tag:public_transport%3Dstop_area could be added here to remove any duplicated information. But it's not very common in Poland at the moment.

Zaczero avatar Aug 19 '23 10:08 Zaczero

Hmm, after having reread all public transport documentation on the wiki, it seems to be a systemic problem in the whole of Sweden, stemming from this wiki article: https://wiki.openstreetmap.org/wiki/Sweden/Public_transport#Hur_skall_vi_tagga_nu?. From what I can tell, it was discussed how to upgrade old tagging to the then (2013) new public transport tagging schema, and people tried out different methods, and subsequently settled on the method described there. It contradicts international wiki pages on public transport tagging, and especially considers highway=bus_stop to be a legacy tag, secondary to public transport tagging and stop_area relations.

However, it seems to be a problem not only in Sweden but also mainly in Germany and a region in France. Maybe it needs to be handled after all? Or should we push for a mass retagging of PT infrastructure in these countries? image (Overpass Ultra query)

TLDR: Looks like public transport tagging in Sweden is currently incompatible with relatify and that will not change in the near future.

Hidooo avatar Aug 22 '23 05:08 Hidooo

If you examine the regions near Stockholm (https://www.openstreetmap.org/relation/3879443), you will observe instances of (unofficial) PTv3 tagging, a rather unconventional selection by the Swedish community. It seems reasonable to adopt tagging that adheres to global compatibility. However, based on my observations, this principle doesn't seem to consistently apply there. Nevertheless, they have the right to choose their approach, and that should be respected. I simply wish for more collaboration with other countries on their part. Their PTv3 implementation seems intentionally designed to NOT maintain backward compatibility with the existing PTv2 standard. Adapting Relatify to function with it would demand significant efforts.

Zaczero avatar Aug 22 '23 06:08 Zaczero

Having said that, let me mark this as wontfix.

Zaczero avatar Aug 22 '23 06:08 Zaczero

However, it seems to be a problem not only in Sweden but also mainly in Germany and a region in France. Maybe it needs to be handled after all? Or should we push for a mass retagging of PT infrastructure in these countries?

The tagging that your Overpass query examines is indeed supported (https://github.com/Zaczero/osm-relatify/issues/36#issuecomment-1684915736). The initial issue you raised is slightly different, as I explained in the referenced comment (point 2). Kindly review my response and feel free to ask if any aspects remain unclear.

Zaczero avatar Aug 22 '23 08:08 Zaczero