Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <assembler_legacy.hpp>
Classes | |
struct | MPFilter |
Public Member Functions | |
AssemblerLegacy (const config_type &config) | |
bool | operator() (const osmium::Way &way, osmium::memory::Buffer &out_buffer) |
bool | operator() (const osmium::Relation &relation, const std::vector< const osmium::Way * > &members, osmium::memory::Buffer &out_buffer) |
Private Member Functions | |
void | add_common_tags (osmium::builder::TagListBuilder &tl_builder, std::set< const osmium::Way * > &ways) const |
void | add_tags_to_area (osmium::builder::AreaBuilder &builder, const osmium::Relation &relation) |
bool | create_area (osmium::memory::Buffer &out_buffer, const osmium::Way &way) |
bool | create_area (osmium::memory::Buffer &out_buffer, const osmium::Relation &relation, const std::vector< const osmium::Way * > &members) |
Static Private Member Functions | |
static const MPFilter & | filter () noexcept |
Assembles area objects from closed ways or multipolygon relations and their members.
|
inlineexplicit |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivatenoexcept |
|
inline |
Assemble an area from the given relation and its members. The resulting area is put into the out_buffer.
|
inline |
Assemble an area from the given way. The resulting area is put into the out_buffer.