Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <geom_assembler.hpp>
Public Types | |
using | config_type = osmium::area::AssemblerConfig |
Public Member Functions | |
GeomAssembler (const config_type &config) | |
bool | operator() (const osmium::Way &way, osmium::memory::Buffer &out_buffer) |
bool | operator() (const osmium::Relation &relation, const osmium::memory::Buffer &ways_buffer, osmium::memory::Buffer &out_buffer) |
Assembles area objects from closed ways or multipolygon relations and their members. Unlike the Assembler, this one doesn't take tags into account at all. And it doesn't interpret all the config settings and doesn't do all the checks and error reporting the Assembler does.
This class was developed specifically for the need of osm2pgsql. Unless you know what you are doing, use the Assembler class instead of this class. Contact the Libosmium developers if you want to use this class.
|
inlineexplicit |
|
inline |
Assemble an area from the given relation and its member ways which are in the ways_buffer.
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.