% if @key == '{{{key}}}' && @value == '{{{value}}}' %>
taginfo [More...]
Statistics about the tag will appear here.
<% elsif @dbtag.nil? %>
taginfo [More...]
This tag does not appear in the OSM database.
<% else %>
taginfo [More...]
|
<%= @dbtag['count_nodes'].to_i.to_s_with_ts %> |
<%= @dbkey['count_nodes'] == 0 ? '0.00' : ('%.2f' % (@dbtag['count_nodes'].to_f / @dbkey['count_nodes'].to_f * 100)) %> % |
|
<%= @dbtag['count_ways'].to_i.to_s_with_ts %> |
<%= @dbkey['count_ways'] == 0 ? '0.00' : ('%.2f' % (@dbtag['count_ways'].to_f / @dbkey['count_ways'].to_f * 100)) %> % |
|
<%= @dbtag['count_relations'].to_i.to_s_with_ts %> |
<%= @dbkey['count_relations'] == 0 ? '0.00' : ('%.2f' % (@dbtag['count_relations'].to_f / @dbkey['count_relations'].to_f * 100)) %> % |
<% end %>