organicmaps/organicmaps

Handle implied access

开放

#6,089 创建于 2023年9月22日

 (1 条评论) (0 个反应) (0 位负责人)C++ (761 个派生)batch import
GeneratorGood first issue

仓库指标

星标
 (7,887 个星标)
PR 合并指标
 (平均合并 13天 6小时) (30 天内合并 91 个 PR)

描述

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)

贡献者指南