a-b-street / osm2lanes

A common library and set of test cases for transforming OSM tags to lane specifications
https://a-b-street.github.io/osm2lanes/
Apache License 2.0
34 stars 2 forks source link

Contradictory cycleway tagging should report an error #164

Open westnordost opened 2 years ago

westnordost commented 2 years ago

Tagging like

should report an error. I.e. wherever cycleway:both/ cycleway contradicts with the cycleway:<direction> tag

This tagging is ambiguous and either one of these tags must be a mistake (or both).

droogmic commented 2 years ago

So this is now implemented as a warning, because we want to avoid erroring at all costs (it messes up map-wide automations if nothing is produced). Please check and see if the functionality is as expected?

westnordost commented 2 years ago

Warning: unsupported: 'cycleway=track cycleway:both=track'

  1. The warning is not very informative
  2. the warning is returned also if the two values do not contradict
droogmic commented 2 years ago

indeed, thanks.