[Tagging] Tagging standards [moved from osmf-talk]

Illia Marchenko illiamarchenko92 at gmail.com
Mon Oct 24 21:59:48 UTC 2022


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

> Am Mo., 24. Okt. 2022 um 01:05 Uhr schrieb Illia Marchenko
> <illiamarchenko92 at 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.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20221025/1818080d/attachment.htm>


More information about the Tagging mailing list