[OSM-talk] Cross-renderer tag support, now with OSMdoc!
Steve Bennett
stevagewp at gmail.com
Sun Dec 20 14:04:06 GMT 2009
A couple more updates:
- added links to OSMdoc so you can see the currently used values for each
tag
- I now show certain* OSMdoc tags that aren't supported by any tool
- I fixed wiki tags that were effectively "max_speed=*" but are listed in
the wiki as "max_speed=Speed".
http://wiki.openstreetmap.org/wiki/User:Stevage/tagsupport
Steve
* Here's the code
<xsl:when test="
$hide_osmdoc_only and
count(distinct-values(current-group()/value/@source))=1 and
value/@source='osmdoc' and
current-grouping-key() ne '*' and
(sum(current-group()/value[.=current-grouping-key()]/@count) lt 50
or sum(current-group()/@osmdoc_values) ge 100)
">
Basically if a value turns up at least 50 times in a key that is otherwise
supported at least once, and yet there are less than 100 unique values (ie,
it's not name= where there are thousands of possibilities), then the tag is
worth knowing about.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20091221/f5d425e0/attachment.html>
More information about the talk
mailing list