Hi,

On Sunday 03 February 2008 22:00:26 Hakan Tandogan wrote:
> To simplify the http://wiki.openstreetmap.org/index.php/Tr:Map_Features
> I created a http://wiki.openstreetmap.org/index.php/Tr:Key:shop that
> uses the template appopiate template, and replaced the table in
> Tr:Map_Features with a reference to Tr:Key:shop .

The Key:<keyname> pages are just regular wikisites and not templates. This is 
the reason why you normally have to add the same template including the 
translation to both sites instead of crosslinking them.

I've created the Key:<keyname> pages to give a basic overview about the Key 
itself with all the interresting information that come with them. See the 
[[Key:highway]] [1] site for reference. Together with the short overview we 
can add every key to a category and thus make it possible to parse every 
existing key in an easy way to find out which keys might be misused or never 
got "approved".

> My problem is that the template only shows "official" values for the
> shop key, but there might be more tags that are used only locally. Could
> the template render those additional tags after the "official" list,
> perhaps with a divider row between the official and unofficial /
> deprecated ones? That way, the <Language>:Map_Features pages could
> really turn into a list of template references.

You "could" change the basic template (for example 
[[Template:Map_Features:shop]] ) and add the "unofficial tags" there as well 
to archive your goal.
The problem is, that the <Language>:Map_Features will turn into a huge list 
and soon be to big for the MediaWiki.

> The other thing I don't really understand are the pages for
> Tag:<key>=<value>. Do I assume correctly that those pages are only
> necessary if a certain value is complicated enough that it deserves its
> own explication?

The Tag:<key>=<value> exist as documentation for every existing Tag we have. 
No matter how important the Tag is. If necessary you can add there additional 
information (see [2] ) but even if you just add a picture and a short 
description its fine too.

At the moment i use the Tag:<key>=<value> pages as a source for Tagwatch to 
get descriptions for each tag. In the future i hope to have a category with 
all "proposed and unofficial" tags too that can just be parsed with 3rd party 
tools.

The Tagwatch description pages can then be used to reflect what Tags are used 
and have a full list with descriptions as well.

A few problems still exist. First off, i can't process the complete planet.osm 
file on my laptop and therefore just show what Tags are used in a specific 
country. The 2nd problem is the lack of documentation about the Tags in the 
wiki and a missing structure for all "non approved" tags.

Hope this clarifies some of your questions.

Regards
Joerg

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Reply via email to