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

2018-07-30 Thread Warin
On 31/07/18 02:33, Kevin Kenny wrote: On Mon, Jul 30, 2018 at 11:39 AM Martin Koppenhoefer wrote: I did not check any numbers, but I would also expect a lot of data not following this definition. [of the ele=* tag meaining EGM96] Uhm, yeah. I've been using NAVD88 as orthometric datum. I

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

2018-07-30 Thread Kevin Kenny
On Mon, Jul 30, 2018 at 11:39 AM Martin Koppenhoefer wrote: > I did not check any numbers, but I would also expect a lot of data not > following this definition. [of the ele=* tag meaining EGM96] Uhm, yeah. I've been using NAVD88 as orthometric datum. I have the tables loaded in my GPS app,

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

2018-07-30 Thread Martin Koppenhoefer
sent from a phone > On 30. Jul 2018, at 10:18, Mateusz Konieczny wrote: > > Where it is written on Wiki? ele tag definition > Nobody is really following that. I did not check any numbers, but I would also expect a lot of data not following this definition. Cheers, Martin

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

2018-07-30 Thread Jo
There is a relatively simple solution that could satisfy everybody. (Except maybe the people paying for the storage, but let's say tags are cheap) For each tag that describes a measurement, add a counterpart tag with the values converted to SI units, meter, second, km/h (or even m/s, everybody

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

2018-07-30 Thread Mateusz Konieczny
30. Lipiec 2018 01:00 od dieterdre...@gmail.com : >  elevations should be with respect to the EGM96 sea level Where it is written on Wiki? Nobody is really following that. ___ Tagging mailing list

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

2018-07-30 Thread Andrew Hain
I disagree in the specific case of maxheight and maxwidth: An important use of these tags is to compare the dimension of a vehicle with the limits. Also the format maxheight=12'11" imposes a particular cognitive load on subsequent mappers and data users who may not be familiar with the format.

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

2018-07-30 Thread Javier Sánchez Portero
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 escribió: > > > sent from a phone > > > On 29. Jul 2018,

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

2018-07-29 Thread Martin Koppenhoefer
sent from a phone > On 29. Jul 2018, at 09:57, Javier Sánchez Portero > 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

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

2018-07-29 Thread Martin Koppenhoefer
sent from a phone > On 27. Jul 2018, at 19:48, Kevin Kenny wrote: > > I'm all for SI units for things like voltages and elevations. I'm > perfectly fine with tagging the elevation of Slide Mountain as 1274 > metres and letting a US data consumer convert that to 4180 feet. > > Regulatory

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

2018-07-29 Thread Javier Sánchez Portero
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. Javier El sáb., 28 jul. 2018 10:30, Mark Wagner escribió: > On Fri, 27 Jul 2018 22:33:10 +0200 > François Lacombe wrote: > > > Well okay > > Given

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

2018-07-28 Thread Mark Wagner
On Fri, 27 Jul 2018 22:33:10 +0200 François Lacombe wrote: > Well okay > Given problem is how can we query maxspeed like : > [Maxspeed>25] ? > Which situation do we want to optimize for? The rare case, or the common case? It's common to want to document legal restrictions such as "speed

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

2018-07-28 Thread Eric Gillet
I agree with François and Marc. Le ven. 27 juil. 2018 à 13:28, Warin <61sundow...@gmail.com> a écrit : > Unfortunately not everyone uses the same units... heights are in meters, > feet .. depending on where you come from or what activity you follow. > You're right, but as OSM is an

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

2018-07-27 Thread François Lacombe
2018-07-27 22:44 GMT+02:00 Nelson A. de Oliveira : > On Fri, Jul 27, 2018 at 5:33 PM, François Lacombe > 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

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

2018-07-27 Thread marc marc
Le 27. 07. 18 à 22:44, Nelson A. de Oliveira a écrit : > On Fri, Jul 27, 2018 at 5:33 PM, François Lacombe > 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

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

2018-07-27 Thread Nelson A. de Oliveira
On Fri, Jul 27, 2018 at 5:33 PM, François Lacombe 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]

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

2018-07-27 Thread François Lacombe
Well okay Given problem is how can we query maxspeed like : [Maxspeed>25] ? It's not possible while units are stored with values. Then i agree that human display is a matter of tools, not database François Le ven. 27 juil. 2018 à 22:21, Tobias Knerr a écrit : > On 26.07.2018 21:26, François

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

2018-07-27 Thread Tobias Knerr
On 26.07.2018 21:26, François Lacombe wrote: > Then store voltage=40 is far way better but harder to be read by > humans also. I currently prefer explicit units in the database because they document the mapper's intent and avoid ambiguity. Defaults aren't always obvious. For example, people

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

2018-07-27 Thread Paul Allen
On Fri, Jul 27, 2018 at 6:48 PM, Kevin Kenny wrote: > I'm all for SI units for things like voltages and elevations. I'm > perfectly fine with tagging the elevation of Slide Mountain as 1274 > metres and letting a US data consumer convert that to 4180 feet. > I respectfully disagree. One reason

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

2018-07-27 Thread Dave Swarthout
> Regulatory things like maxspeed=* should have the unit in the tag, and >they should be in the same units that the signs are in. A sign reading >'Speed limit 25 mph' means 25 mph, and entering 40.2336 km/h loses the >information that the regulatory signs are in US customary units. I agree with

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

2018-07-27 Thread Kevin Kenny
I'm all for SI units for things like voltages and elevations. I'm perfectly fine with tagging the elevation of Slide Mountain as 1274 metres and letting a US data consumer convert that to 4180 feet. Regulatory things like maxspeed=* should have the unit in the tag, and they should be in the same

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

2018-07-27 Thread marc marc
Le 27. 07. 18 à 18:51, Richard Welty a écrit : > but practically it's probably not a good idea in mapping, where i think > we should be using local units in an unambiguous manner. nothing prevent a editor nor a site to show "volt" next to the textbox for voltage value nor to show "km/h or mph"

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

2018-07-27 Thread Andrew Hain
Data consumers would convert to units they are interested in, no others. -- Andrew From: Andy Townsend Sent: 27 July 2018 14:34:41 To: tagging@openstreetmap.org Subject: Re: [Tagging] Let's get (quite) rid of units and their multiples in OSM values On

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

2018-07-27 Thread Philip Barnes
On 27/07/2018 16:20, marc marc wrote: I agree maybe with the exeption of case like maxspeed And maxheight and maxwidth. Phil (trigpoint) ___ Tagging mailing list Tagging@openstreetmap.org https://lists.openstreetmap.org/listinfo/tagging

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

2018-07-27 Thread Richard Welty
normalization into SI is the sort of thing that engineers and scientists go for, and speaking as a (computer) scientist it has some appeal. but practically it's probably not a good idea in mapping, where i think we should be using local units in an unambiguous manner. if i see maxspeed=40 on a

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

2018-07-27 Thread marc marc
I agree maybe with the exeption of case like maxspeed François voltage is a good usecase to open an issue to the whised app. Le 27. 07. 18 à 14:19, Andrew Hain a écrit : > My own preference is to have no (zero) units in the database, decimals > where wanted (maxwidth=2.2) and unit management

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

2018-07-27 Thread Andy Townsend
On 27/07/2018 13:19, Andrew Hain wrote: ... and unit management support in editors. ... and presumably also in every data consumer that uses OSM data too? ___ Tagging mailing list Tagging@openstreetmap.org

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

2018-07-27 Thread Andrew Hain
My own preference is to have no (zero) units in the database, decimals where wanted (maxwidth=2.2) and unit management support in editors. -- Andrew From: Warin <61sundow...@gmail.com> Sent: 27 July 2018 12:27:04 To: tagging@openstreetmap.org Subject: Re:

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

2018-07-27 Thread Warin
On 27/07/18 21:11, Martin Koppenhoefer wrote: sent from a phone On 26. Jul 2018, at 21:26, François Lacombe wrote: I don't want to break things but only improve them, all the best one issue with using only one unit for a tag is that they can’t always be transformed without rounding. E.g.

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

2018-07-27 Thread Martin Koppenhoefer
sent from a phone > On 26. Jul 2018, at 21:26, François Lacombe wrote: > > I don't want to break things but only improve them, all the best one issue with using only one unit for a tag is that they can’t always be transformed without rounding. E.g. maxspeed=55mph cannot be converted to kph

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

2018-07-26 Thread François Lacombe
Hi all, Yet another discussion about values with units in the database. In particular situations of keys implying particular units (like voltage=* with Volt), would it be good to improve tools, editors, websites or any other stuff dedicated to human reading to get voltage=40 displayed as