Template talk:KeyDescription

From OpenStreetMap Wiki
Jump to: navigation, search

Contents

Proposed reuse for Machine-readable Map Feature list

There is a group working on a Machine-readable Map Feature list. In order to automatically harvest information about keys (which we call tag-defs) from the Wiki, this template should be slightly modified. —Preceding unsigned comment added by Gubaer (talkcontribs) 19:23, 21 December 2008

Proposed new arguments

Proposed changed arguments

     groups={{GroupRef|name=naming|lang=en}}, {{GroupRef|name=non-physical|lang=en}}
  
—Preceding unsigned comment added by Gubaer (talkcontribs) 19:29, 21 December 2008
  • propose a solution :
     |groups={{GroupList|en|first|second|e.t.c.}} 
    first, second ... up to 13 :) are the names of additional groups. It make list and categories for these groups. I did it in the template RU:KeyDescription --Dr&mx 20:42, 3 July 2011 (BST)

Proposed expansion of the template

The expansion of the template should include a reference to the category <lang>:Category:Keys. Example:


   [[Category:en:Keys]]

—Preceding unsigned comment added by Gubaer (talkcontribs) 19:40, 21 December 2008
probably [[Category:EN:Keys]] --dr&mx 20:07, 28 February 2012 (UTC)

Transition

New and changed arguments are optional. They shouldn't brake existing uses of the template. Neither does the declaration of a category.

We therefore suggest

  1. update the template
  2. adjust wiki pages (add arguments for the new parameters) step by step —Preceding unsigned comment added by Gubaer (talkcontribs) 19:40, 21 December 2008

Add a Proposal link

Hi, would it be a good idea to add a backlink to the proposal of a feature? Sometimes it is a very detailed help and gives further informations for usage, even on start of the feature --!i! 10:44, 17 August 2010 (BST)

Proposal - parameter - replaces

It might be useful to include a parameter which inidicates whether a key replaces another key; this would decrease the incidence of using "obsolete" keys. Example, see Key:power output, which refers to Key:power rating . . . which in turn redirects to Key:generator:output. --Ceyockey 13:17, 24 November 2010 (UTC)

well, i saw your comment by chance (actually by using "What links here") when reorganising some power keys ... sorry for destroying your example ;-) (I won't change the links here, though) -- Schusch 23:38, 24 November 2010 (UTC)

Proposal - value interpretation

I think it would be really useful if the description also included information about the scale type and the default unit of the value. This would simplify automatic conversion of values (e.g. for people who prefer inches and feet instead of cm and m).

Examples (I think that's the easiest to explain what I suggest):

key scaleType defaultUnit
width number m
voltage number V
wires count
population count inhabitants
lanes count
ele number m
include number  %
maxweight number t
maxspeed number km/h
website link http://
email link mailto:
name text
highway list
amenity list
start_date date

Therefore valid scales could be 'number', 'count', 'link', 'text' (maybe we should distinguish between texts which "can" be translated like "name" and those which can't? are there any?), 'list' (for keys like highway, amenity, landuse, ...), 'date', etc.

What do you think? -- Skunk 15:36, 17 October 2011 (BST)

Personal tools
Namespaces
Variants
Actions
site
Toolbox