Libosmium
2.13.1
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <multipolygon_manager.hpp>
Private Types | |
using | assembler_config_type = typename TAssembler::config_type |
Private Attributes | |
const assembler_config_type | m_assembler_config |
area_stats | m_stats |
osmium::TagsFilter | m_filter |
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 |
|
inlineexplicit |
Construct a MultipolygonManager.
assembler_config | The configuration that will be given to any newly constructed area assembler. |
filter | An optional filter specifying what tags are needed on closed ways or multipolygon relations to build the area. |
|
inline |
|
inline |
This is called when a relation is complete, ie. all members were found in the input. It will build the area using the assembler.
|
inline |
We are interested in all relations tagged with type=multipolygon or type=boundary with at least one way member.
|
inlinenoexcept |
Access the aggregated statistics generated by the assemblers called from the manager.
|
private |
|
private |
|
private |