Libosmium
2.11.4
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <multipolygon_collector.hpp>
Private Types | |
using | collector_type = osmium::relations::Collector< MultipolygonCollector< TAssembler >, false, true, false > |
using | assembler_config_type = typename TAssembler::config_type |
Private Member Functions | |
void | flush_output_buffer () |
void | possibly_flush_output_buffer () |
Private Attributes | |
const assembler_config_type | m_assembler_config |
osmium::memory::Buffer | m_output_buffer |
osmium::area::area_stats | m_stats |
Static Private Attributes | |
static constexpr size_t | initial_output_buffer_size = 1024 * 1024 |
static constexpr size_t | max_buffer_size_for_flush = 100 * 1024 |
Additional Inherited Members | |
![]() | |
std::vector< MemberMeta > & | member_meta (const item_type type) |
callback_func_type | callback () |
const std::vector< RelationMeta > & | relations () const |
bool | keep_relation (const osmium::Relation &) const |
bool | keep_member (const osmium::relations::RelationMeta &, const osmium::RelationMember &) const |
void | node_not_in_any_relation (const osmium::Node &) |
void | way_not_in_any_relation (const osmium::Way &) |
void | relation_not_in_any_relation (const osmium::Relation &) |
void | flush () |
void | clean_assembled_relations () |
const osmium::Relation & | get_relation (size_t offset) const |
const osmium::Relation & | get_relation (const RelationMeta &relation_meta) const |
const osmium::Relation & | get_relation (const MemberMeta &member_meta) const |
osmium::OSMObject & | get_member (size_t offset) const |
This class collects all data needed for creating areas from relations tagged with type=multipolygon or type=boundary. Most of its functionality is derived from the parent class osmium::relations::Collector.
The actual assembling of the areas is done by the assembler class given as template argument.
TAssembler | Multipolygon Assembler class. |
|
private |
|
private |
|
inlineexplicit |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
Overwritten from the base class.
|
inline |
We are interested in all relations tagged with type=multipolygon or type=boundary.
Overwritten from the base class.
|
inlineprivate |
|
inline |
|
inlinenoexcept |
|
inline |
This is called when a way is not in any multipolygon relation.
Overwritten from the base class.
|
staticprivate |
|
private |
|
private |
|
private |
|
staticprivate |