вт, 25 окт. 2022 г., 0:30 Asa Hundert <hungerb...@gmail.com>:

> Am Mo., 24. Okt. 2022 um 01:05 Uhr schrieb Illia Marchenko
> <illiamarchenk...@gmail.com>:
> >
> > I suggest alternative solution: some machine readable spec, which
> defines mapping between stable identifier and tags. For example (XML):
> > <list>
> > <item id="healthcare.hospital" k="amenity" v="hospital" />
> > <item id="healthcare.hospital" k="healthcare" v="hospital" />
> […]
>
> In XML, ids must be unique.

Then so:
<list>
<item id="healthcare.hospital">
<tag k="healtcare" v="hospital">
<tag k="amenity" v="hospital">
</item>
<item id="water.lake">
<bundle>
<tag k="natural" v="water">
<tag k="water" v="lake">
<bundle>
</item>
<item id="shop.supermarket">
<tag k="shop" v="supermarket">
</item>
</list>

> Did you mean "my personal notion of what
> this stands for ID"? After reading
> https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua
> consumers are doing that already.
>
This is example only. Of course, another options is possible, including
Lua, JSON or even binary.
Regards,
Illia.

>
_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging

Reply via email to