1#ifndef OSMIUM_AREA_STATS_HPP
2#define OSMIUM_AREA_STATS_HPP
104 template <
typename TChar,
typename TTraits>
105 inline std::basic_ostream<TChar, TTraits>&
operator<<(std::basic_ostream<TChar, TTraits>& out,
const area_stats& s) {
106 return out <<
" area_really_complex_case=" << s.area_really_complex_case
107 <<
" area_simple_case=" << s.area_simple_case
108 <<
" area_touching_rings_case=" << s.area_touching_rings_case
109 <<
" duplicate_nodes=" << s.duplicate_nodes
110 <<
" duplicate_segments=" << s.duplicate_segments
111 <<
" duplicate_ways=" << s.duplicate_ways
112 <<
" from_relations=" << s.from_relations
113 <<
" from_ways=" << s.from_ways
114 <<
" inner_rings=" << s.inner_rings
115 <<
" inner_with_same_tags=" << s.inner_with_same_tags
116 <<
" intersections=" << s.intersections
117 <<
" member_ways=" << s.member_ways
118 <<
" no_tags_on_relation=" << s.no_tags_on_relation
119 <<
" no_way_in_mp_relation=" << s.no_way_in_mp_relation
120 <<
" nodes=" << s.nodes
121 <<
" open_rings=" << s.open_rings
122 <<
" outer_rings=" << s.outer_rings
123 <<
" short_ways=" << s.short_ways
124 <<
" single_way_in_mp_relation=" << s.single_way_in_mp_relation
125 <<
" touching_rings=" << s.touching_rings
126 <<
" ways_in_multiple_rings=" << s.ways_in_multiple_rings
127 <<
" wrong_role=" << s.wrong_role
128 <<
" invalid_locations=" << s.invalid_locations;
std::basic_ostream< TChar, TTraits > & operator<<(std::basic_ostream< TChar, TTraits > &out, const area_stats &s)
Definition: stats.hpp:105
@ area
Definition: entity_bits.hpp:72
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
uint64_t invalid_locations
Invalid location found.
Definition: stats.hpp:73
uint64_t duplicate_ways
Ways that are in relation more than once.
Definition: stats.hpp:55
uint64_t touching_rings
Rings touching in a node.
Definition: stats.hpp:70
uint64_t from_ways
Area created from way.
Definition: stats.hpp:57
uint64_t inner_rings
Number of inner rings.
Definition: stats.hpp:58
uint64_t intersections
Number of intersections between segments.
Definition: stats.hpp:60
uint64_t area_simple_case
Simple case, no touching rings.
Definition: stats.hpp:51
area_stats & operator+=(const area_stats &other) noexcept
Definition: stats.hpp:75
uint64_t duplicate_segments
Segments duplicated (going back and forth)
Definition: stats.hpp:54
uint64_t nodes
Number of nodes in the area.
Definition: stats.hpp:64
uint64_t ways_in_multiple_rings
Different segments of a way ended up in different rings.
Definition: stats.hpp:71
uint64_t duplicate_nodes
Consecutive identical nodes or consecutive nodes with same location.
Definition: stats.hpp:53
uint64_t single_way_in_mp_relation
Multipolygon relation containing a single way.
Definition: stats.hpp:69
uint64_t inner_with_same_tags
Number of inner ways with same tags as area.
Definition: stats.hpp:59
uint64_t open_rings
Number of open rings in the area.
Definition: stats.hpp:65
uint64_t no_tags_on_relation
No tags on relation (old-style multipolygon with tags on outer ways)
Definition: stats.hpp:62
uint64_t short_ways
Number of ways with less than two nodes.
Definition: stats.hpp:68
uint64_t area_touching_rings_case
More difficult case with touching rings.
Definition: stats.hpp:52
uint64_t area_really_complex_case
Most difficult case with rings touching in multiple points.
Definition: stats.hpp:50
uint64_t no_way_in_mp_relation
Multipolygon relation with no way members.
Definition: stats.hpp:63
uint64_t outer_rings
Number of outer rings in the area.
Definition: stats.hpp:66
uint64_t member_ways
Number of ways in the area.
Definition: stats.hpp:61
uint64_t wrong_role
Member has wrong role (not "outer", "inner", or empty)
Definition: stats.hpp:72
uint64_t overlapping_segments
Three or more segments with same end points.
Definition: stats.hpp:67
uint64_t from_relations
Area created from multipolygon relation.
Definition: stats.hpp:56