Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <stats.hpp>
Public Member Functions | |
area_stats & | operator+= (const area_stats &other) noexcept |
Public Attributes | |
uint64_t | area_really_complex_case = 0 |
Most difficult case with rings touching in multiple points. More... | |
uint64_t | area_simple_case = 0 |
Simple case, no touching rings. More... | |
uint64_t | area_touching_rings_case = 0 |
More difficult case with touching rings. More... | |
uint64_t | duplicate_nodes = 0 |
Consecutive identical nodes or consecutive nodes with same location. More... | |
uint64_t | duplicate_segments = 0 |
Segments duplicated (going back and forth) More... | |
uint64_t | duplicate_ways = 0 |
Ways that are in relation more than once. More... | |
uint64_t | from_relations = 0 |
Area created from multipolygon relation. More... | |
uint64_t | from_ways = 0 |
Area created from way. More... | |
uint64_t | inner_rings = 0 |
Number of inner rings. More... | |
uint64_t | inner_with_same_tags = 0 |
Number of inner ways with same tags as area. More... | |
uint64_t | intersections = 0 |
Number of intersections between segments. More... | |
uint64_t | member_ways = 0 |
Number of ways in the area. More... | |
uint64_t | no_tags_on_relation = 0 |
No tags on relation (old-style multipolygon with tags on outer ways) More... | |
uint64_t | no_way_in_mp_relation = 0 |
Multipolygon relation with no way members. More... | |
uint64_t | nodes = 0 |
Number of nodes in the area. More... | |
uint64_t | open_rings = 0 |
Number of open rings in the area. More... | |
uint64_t | outer_rings = 0 |
Number of outer rings in the area. More... | |
uint64_t | overlapping_segments = 0 |
Three or more segments with same end points. More... | |
uint64_t | short_ways = 0 |
Number of ways with less than two nodes. More... | |
uint64_t | single_way_in_mp_relation = 0 |
Multipolygon relation containing a single way. More... | |
uint64_t | touching_rings = 0 |
Rings touching in a node. More... | |
uint64_t | ways_in_multiple_rings = 0 |
Different segments of a way ended up in different rings. More... | |
uint64_t | wrong_role = 0 |
Member has wrong role (not "outer", "inner", or empty) More... | |
uint64_t | invalid_locations = 0 |
Invalid location found. More... | |
These statistics are generated by the area assembler code. They tell the user of the assembler a lot about the objects this area is made out of, what happened during the assembly, and what errors there were.
|
inlinenoexcept |
uint64_t osmium::area::area_stats::area_really_complex_case = 0 |
Most difficult case with rings touching in multiple points.
uint64_t osmium::area::area_stats::area_simple_case = 0 |
Simple case, no touching rings.
uint64_t osmium::area::area_stats::area_touching_rings_case = 0 |
More difficult case with touching rings.
uint64_t osmium::area::area_stats::duplicate_nodes = 0 |
Consecutive identical nodes or consecutive nodes with same location.
uint64_t osmium::area::area_stats::duplicate_segments = 0 |
Segments duplicated (going back and forth)
uint64_t osmium::area::area_stats::duplicate_ways = 0 |
Ways that are in relation more than once.
uint64_t osmium::area::area_stats::from_relations = 0 |
Area created from multipolygon relation.
uint64_t osmium::area::area_stats::from_ways = 0 |
Area created from way.
uint64_t osmium::area::area_stats::inner_rings = 0 |
Number of inner rings.
uint64_t osmium::area::area_stats::inner_with_same_tags = 0 |
Number of inner ways with same tags as area.
uint64_t osmium::area::area_stats::intersections = 0 |
Number of intersections between segments.
uint64_t osmium::area::area_stats::invalid_locations = 0 |
Invalid location found.
uint64_t osmium::area::area_stats::member_ways = 0 |
Number of ways in the area.
uint64_t osmium::area::area_stats::no_tags_on_relation = 0 |
No tags on relation (old-style multipolygon with tags on outer ways)
uint64_t osmium::area::area_stats::no_way_in_mp_relation = 0 |
Multipolygon relation with no way members.
uint64_t osmium::area::area_stats::nodes = 0 |
Number of nodes in the area.
uint64_t osmium::area::area_stats::open_rings = 0 |
Number of open rings in the area.
uint64_t osmium::area::area_stats::outer_rings = 0 |
Number of outer rings in the area.
uint64_t osmium::area::area_stats::overlapping_segments = 0 |
Three or more segments with same end points.
uint64_t osmium::area::area_stats::short_ways = 0 |
Number of ways with less than two nodes.
uint64_t osmium::area::area_stats::single_way_in_mp_relation = 0 |
Multipolygon relation containing a single way.
uint64_t osmium::area::area_stats::touching_rings = 0 |
Rings touching in a node.
uint64_t osmium::area::area_stats::ways_in_multiple_rings = 0 |
Different segments of a way ended up in different rings.
uint64_t osmium::area::area_stats::wrong_role = 0 |
Member has wrong role (not "outer", "inner", or empty)