Libosmium
2.15.6
Fast and flexible C++ library for working with OpenStreetMap data
|
Go to the documentation of this file. 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
ItemIteratorRange< T > select()
Definition: buffer.hpp:670
Definition: assembler_config.hpp:49
Definition: buffer.hpp:97
Definition: geom_assembler.hpp:61
bool operator()(const osmium::Way &way, osmium::memory::Buffer &out_buffer)
Definition: geom_assembler.hpp:79
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
@ area
Definition: entity_bits.hpp:72
Definition: relation.hpp:168
std::size_t commit()
Definition: buffer.hpp:468
Definition: osm_object_builder.hpp:570
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