OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2014-10-30 12:37:43

jgpacker
Member
From: Joinville, SC, Brazil
Registered: 2014-01-18
Posts: 124

Category name for tags that have units as values

I want to group under a category some tags that have some kind of unit as the value, but I'm not sure how should I name it.
I was thinking of either [[Category:Units]] or [[Category:Measurement]].

Example of tags being added would be:
circumference=*
depth=*
width=*
est_width=*
height=*
maxheight=*
minheight=*
maxspeed=*
maxaxleload=*
maxweight=*
min_age=* (the unit is years)
ele=*
...etc

Which name do you suggest?

Offline

#2 2014-10-30 14:18:58

rayquaza
Member
From: DE-BW
Registered: 2012-11-18
Posts: 2,007

Re: Category name for tags that have units as values

I would name it like the existing [[Category:Keys:References]]: "Category:Keys:Units"

Offline

#3 2014-10-30 14:53:21

jgpacker
Member
From: Joinville, SC, Brazil
Registered: 2014-01-18
Posts: 124

Re: Category name for tags that have units as values

rayquaza wrote:

I would name it like the existing [[Category:Keys:References]]: "Category:Keys:Units"

In this case, I think it would be better to use [[Category:Units]] instead, because the [[Category:Keys:*]] scheme is pretty much abandoned nowadays.

Offline

#4 2014-10-30 16:32:43

rayquaza
Member
From: DE-BW
Registered: 2012-11-18
Posts: 2,007

Re: Category name for tags that have units as values

jgpacker wrote:

I think it would be better to use [[Category:Units]] instead, because the [[Category:Keys:*]] scheme is pretty much abandoned nowadays.

I'm not doing much in the OSM-Wiki and just found this by chance, so your choice might be better. Between "Units" and "Measurments" "Units" sounds more fitting to me, because several of them are not actually measured. And as always: Be bold wink

Offline

#5 2014-10-30 18:31:54

jgpacker
Member
From: Joinville, SC, Brazil
Registered: 2014-01-18
Posts: 124

Re: Category name for tags that have units as values

Offline

#6 2014-10-30 22:29:04

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,392
Website

Re: Category name for tags that have units as values

Would it perhaps make sense to add a "value type" parameter to the infobox on the right? I feel this would be useful information and it could also set the categories automatically.

Offline

#7 2014-10-31 01:37:04

jgpacker
Member
From: Joinville, SC, Brazil
Registered: 2014-01-18
Posts: 124

Re: Category name for tags that have units as values

By value type do you mean things like:
* Decimal
* Integer
* Boolean (yes/no)
* OnlyYes

And perhaps other fields for:
* Multi-values or single-value
* Required tags
* Regular expression

I think it could be useful for validation.
Depending on how it turns out we might even create a new template instead of extending the *Description templates.

Offline

#8 2014-10-31 14:17:10

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,392
Website

Re: Category name for tags that have units as values

Yes, that's roughly what I imagined. In the context of units, I'm also thinking of types like "speed", "measuerement" or "weight".

Offline

Board footer

Powered by FluxBB