organicmaps/organicmaps

Handle implied access

Ouverte

#6 089 ouverte le 22 sept. 2023

 (1 commentaire) (0 réaction) (0 personne assignée)C++ (761 forks)batch import
GeneratorGood first issue

Métriques du dépôt

Stars
 (7 887 étoiles)
Métriques de merge PR
 (Merge moyen 13j 6h) (91 PRs mergées en 30 j)

Description

In the case of service=emergency_access, it's implied that access=emergency, or at least vehicle=emergency.

I think the best way would be to add a new flag to replaced_tags.txt that only adds a tag if it doesn't already exist. Then we can do something like service=emergency_access : access=emergency | n

Should fix cases like https://github.com/organicmaps/organicmaps/issues/5983, where access is implied but not explicitly tagged

image

there are 26k ways worldwide tagged service=emergency_access, but without an access=* or vehicle=* so it'd be good to fix this. (to be fair, some of these may have gates with explicit access tagging)

Guide contributeur