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()) {
88 builder.initialize_from_object(way);
89 add_rings_to_area(builder);
107 segment_list().extract_segments_from_way(config().problem_reporter, stats().duplicate_nodes, way);
110 if (!create_rings()) {
116 builder.initialize_from_object(relation);
117 add_rings_to_area(builder);
130 #endif // OSMIUM_AREA_GEOM_ASSEMBLER_HPP bool operator()(const osmium::Way &way, osmium::memory::Buffer &out_buffer)
Definition: geom_assembler.hpp:79
std::size_t commit()
Definition: buffer.hpp:468
Definition: relation.hpp:168
Definition: assembler_config.hpp:49
Definition: entity_bits.hpp:72
Definition: geom_assembler.hpp:61
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
bool operator()(const osmium::Relation &relation, const osmium::memory::Buffer &ways_buffer, osmium::memory::Buffer &out_buffer)
Definition: geom_assembler.hpp:105
GeomAssembler(const config_type &config)
Definition: geom_assembler.hpp:67
Definition: buffer.hpp:97
ItemIteratorRange< T > select()
Definition: buffer.hpp:669
Definition: osm_object_builder.hpp:570