Template:TagCount/testcases

From OpenStreetMap Wiki
Jump to navigation Jump to search

Examples:

  • {{TagCount|building}} produces (total count of building=* elements)
  • {{TagCount|building|detached}} produces (total count of building=detached objects)
  • {{TagCount|building|detached|node}} produces (total count of building=detached nodes)
  • {{TagCount|building|detached|way}} produces (total count of building=detached ways)
  • {{TagCount|building|detached|rel}} produces (total count of building=detached relations, presumably multipolygons)

{{TagCount|building||node}} produces (total count of building=* nodes, regardless of tag value)