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

Fran├žois Lacombe fl.infosreseaux at gmail.com
Fri Jul 27 21:37:49 UTC 2018


2018-07-27 22:44 GMT+02:00 Nelson A. de Oliveira <naoliv at gmail.com>:

> On Fri, Jul 27, 2018 at 5:33 PM, Fran├žois Lacombe
> <fl.infosreseaux at gmail.com> wrote:
> > Well okay
> > Given problem is how can we query maxspeed like :
> > [Maxspeed>25] ?
>
> Maybe the query tools could simply implement a function that converts
> number+unit to a numeric value only?
>
> [to_number(maxspeed) > 25]
>

I don't think ANSI SQL will add such a feature unfortunately.

Overpass and osm2pgsql but what about consumers processing the planet file?

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20180727/11b93b2f/attachment-0001.html>


More information about the Tagging mailing list