[Tagging] Let's get (quite) rid of units and their multiples in OSM values

Javier Sánchez Portero javiersanp at gmail.com
Mon Jul 30 06:38:27 UTC 2018


That sounds right but would not be clearer to use spacename instead of
underscore? Like maxspeed:mph=25
That way you have to deal with main keys instead of split them into one key
per unit.

El lun., 30 jul. 2018 0:22, Martin Koppenhoefer <dieterdreist at gmail.com>
escribió:

>
>
> sent from a phone
>
> > On 29. Jul 2018, at 09:57, Javier Sánchez Portero <javiersanp at gmail.com>
> wrote:
> >
> > To avoid problems when querying, in case of explicitly add units, I
> would prefer to use a separate tag like maxspeed:units=mph, for example.
>
>
> spreading the information over 2 tags creates another point of possible
> failure: units and tag value getting out of sync.
>
> Moving the unit into the key would work better in some way: height_m=3
> maxspeed_mph=25
> It would enable differing values in different units, but at least these
> would be evidently wrong (e.g maxspeed_kph=30 and ...mph=25 on the same
> object), and of course you shouldn’t add both anyway (unless they would
> both be legally correct)
>
> cheers,
> Martin
>
>
> _______________________________________________
> Tagging mailing list
> Tagging at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20180730/3168fb19/attachment.html>


More information about the Tagging mailing list