openstreetmap / id-tagging-schema

🆔🏷 The presets and other tagging data used by the iD editor
ISC License
137 stars 148 forks source link

Deprecate `cycleway=opposite` family #1271

Open tordans opened 2 weeks ago

tordans commented 2 weeks ago

Deprecated OSM Tag(s)

cycleway=opposite

Replacement OSM Tag(s)

None?

Link to OSM Wiki page

https://wiki.openstreetmap.org/wiki/Proposal:Deprecate_cycleway%3Dopposite_family

Further Information

The proposal to deprecate the cycleway=opposite family is accepted (or as good as, given that right now the state of page was not change but all votes are in favor).

So lets talk about what we can do from the id-tagging-schema point of view to deprecate the tagging…

Following the examples https://wiki.openstreetmap.org/wiki/Proposal:Deprecate_cycleway%3Dopposite_family#Tagging_and_Examples we should be able to add these deprecations:

(Note: It is possible to add deprecation rules with multiple tags like in this example.)

  {
     "old": {"cycleway": "opposite"},
     "replace": {"oneway": "yes", "oneway:bicycle": "no", "cycleway:both": "no"}
  },
  {
     "old": {"cycleway:left": "opposite"},
     "replace": {"oneway": "yes", "oneway:bicycle": "no", "cycleway:left": "no"}
  },
  {
     "old": {"cycleway": "opposite_lane"}, // countries that drive on the right lane
     "replace": {"oneway": "yes", "oneway:bicycle": "no", "cycleway:left": "lane", "cycleway:left:oneway": "-1"}
  },
  {
     "old": {"cycleway:left": "opposite_lane"},
     "replace": {"oneway": "yes", "oneway:bicycle": "no", "cycleway:left": "lane", "cycleway:left:oneway": "-1"}
  },

~But looking at the usage numbers in https://wiki.openstreetmap.org/wiki/Proposal:Deprecate_cycleway%3Dopposite_family#Current_usage_in_the_OSM_database we really should only include the first two plus rather deprecations for cycleway:left=opposite and cycleway:left=opposite_lane. What would those two look like @SupaplexOSM?~

Update: Those are only the deprecations that are used >1k time.


The other thing we should do is change the translations for the cycleway values to hint at the deprecation of the tag. This would be a replacement for https://github.com/openstreetmap/id-tagging-schema/issues/1271


Lastly, the field info-i and should ideally link to something that helps to learn more about the deprecation and how to update.