1#ifndef OSMIUM_AREA_GEOM_ASSEMBLER_HPP
2#define OSMIUM_AREA_GEOM_ASSEMBLER_HPP
37#include <osmium/area/detail/basic_assembler.hpp>
38#include <osmium/area/detail/segment_list.hpp>
68 detail::BasicAssembler(config) {
80 segment_list().extract_segments_from_way(config().problem_reporter, stats().duplicate_nodes, way);
82 if (!create_rings()) {
89 add_rings_to_area(builder);
106 for (
const auto& way : ways_buffer.select<
osmium::Way>()) {
107 segment_list().extract_segments_from_way(config().problem_reporter, stats().duplicate_nodes, way);
110 if (!create_rings()) {
117 add_rings_to_area(builder);
Definition: relation.hpp:161
Definition: geom_assembler.hpp:61
bool operator()(const osmium::Relation &relation, const osmium::memory::Buffer &ways_buffer, osmium::memory::Buffer &out_buffer)
Definition: geom_assembler.hpp:105
bool operator()(const osmium::Way &way, osmium::memory::Buffer &out_buffer)
Definition: geom_assembler.hpp:79
GeomAssembler(const config_type &config)
Definition: geom_assembler.hpp:67
Definition: osm_object_builder.hpp:567
void initialize_from_object(const osmium::OSMObject &source)
Definition: osm_object_builder.hpp:584
@ area
Definition: entity_bits.hpp:72
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
Definition: assembler_config.hpp:47