|
| MultipolygonCollector (const assembler_config_type &assembler_config) |
|
const area_stats & | stats () const noexcept |
|
bool | keep_relation (const osmium::Relation &relation) const |
|
bool | keep_member (const osmium::relations::RelationMeta &, const osmium::RelationMember &member) const |
|
void | way_not_in_any_relation (const osmium::Way &way) |
|
void | complete_relation (const osmium::relations::RelationMeta &relation_meta) |
|
void | flush () |
|
osmium::memory::Buffer | read () |
|
| Collector () |
|
uint64_t | used_memory () const |
|
HandlerPass2 & | handler (const callback_func_type &callback=nullptr) |
|
osmium::memory::Buffer & | members_buffer () |
|
bool | is_available (osmium::item_type type, osmium::object_id_type id) |
|
size_t | get_offset (osmium::item_type type, osmium::object_id_type id) |
|
std::pair< bool, size_t > | get_availability_and_offset (osmium::item_type type, osmium::object_id_type id) |
|
void | read_relations (TIter begin, TIter end) |
|
void | read_relations (TSource &source) |
|
void | moving_in_buffer (size_t old_offset, size_t new_offset) |
|
void | possibly_purge_removed_members () |
|
std::vector< const osmium::Relation * > | get_incomplete_relations () const |
|
| Collector () |
|
uint64_t | used_memory () const |
|
HandlerPass2 & | handler (const callback_func_type &callback=nullptr) |
|
osmium::memory::Buffer & | members_buffer () |
|
bool | is_available (osmium::item_type type, osmium::object_id_type id) |
|
size_t | get_offset (osmium::item_type type, osmium::object_id_type id) |
|
std::pair< bool, size_t > | get_availability_and_offset (osmium::item_type type, osmium::object_id_type id) |
|
void | read_relations (TIter begin, TIter end) |
|
void | read_relations (TSource &source) |
|
void | moving_in_buffer (size_t old_offset, size_t new_offset) |
|
void | possibly_purge_removed_members () |
|
std::vector< const osmium::Relation * > | get_incomplete_relations () const |
|
template<typename TAssembler>
class osmium::area::MultipolygonCollector< TAssembler >
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.
- Template Parameters
-
- Precondition
- The Ids of all objects must be unique in the input data.
- Deprecated
- Use MultipolygonManager instead.