Libosmium
2.2.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <multipolygon_collector.hpp>
Private Types | |
typedef osmium::relations::Collector< MultipolygonCollector< TAssembler >, false, true, false > | collector_type |
typedef TAssembler::config_type | assembler_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 |
Static Private Attributes | |
static constexpr size_t | initial_output_buffer_size = 1024 * 1024 |
static constexpr size_t | max_buffer_size_for_flush = 100 * 1024 |
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 |
|
inline |
This is called when a way is not in any multipolygon relation.
Overwritten from the base class.
|
staticprivate |
|
private |
|
private |
|
staticprivate |