[josm-dev] Checking tags

Jochen Topf jochen at remote.org
Fri Mar 27 10:41:37 UTC 2015


On Fr, Mär 27, 2015 at 10:48:58 +0100, Paul Hartmann wrote:
> From my point of view, we can leave it up to the user to decide if a tag is
> accepted enough or not. What I'd find useful though, is some kind of quick
> spellchecking. This means it is enough simply extract all tags from the
> wiki, maybe along with an exclusion list that is maintained by hand.
> 
> As I understand, you already do this for taginfo, but the algorithm does not
> capture all tag combinations. [1]
> [...]
> [1] for example, I see {{tag|healthcare:speciality|ophthalmology}} on the
> wiki page, but no entry on <http://taginfo.openstreetmap.org/tags/healthcare:speciality=ophthalmology#wiki>.

This is all a bit off-topic here, but I want to answer to this.

The {{tag|healthcare:speciality|ophthalmology}}" just creates a link to a
tag page, in this case, a non-existing Wiki page called
"Tag:healthcare:speciality=ophthalmology". Taginfo can only pick up
existing pages, otherwise where would it get the tag description etc? In
this case it seems whoever invented this tagging scheme decided to document
it in a non-standard way where all values for healthcare:speciality are
document in a table on the "Key:healthcare" page instead of in their own
Tag pages.

I realize that having such a table view is useful, but we still need the
Tag: pages. I have made some efforts towards creating such overview tables
automatically from the information taken from Key: and Tag: pages, but it
is unclear how to best do this. See here for some details:
http://blog.jochentopf.com/2013-02-25-using-taginfo-to-create-map-feature-tables.html

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.jochentopf.com/  +49-173-7019282



More information about the josm-dev mailing list