Libosmium
2.3.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <node_locations_for_ways.hpp>
Public Types | |
typedef TStoragePosIDs | index_pos_type |
typedef TStorageNegIDs | index_neg_type |
Static Private Member Functions | |
static dummy_type & | get_dummy () |
Private Attributes | |
TStoragePosIDs & | m_storage_pos |
Object that handles the actual storage of the node locations (with positive IDs). More... | |
TStorageNegIDs & | m_storage_neg |
Object that handles the actual storage of the node locations (with negative IDs). More... | |
bool | m_ignore_errors {false} |
bool | m_must_sort {false} |
Handler to retrieve locations from nodes and add them to ways.
TStoragePosIDs | Class that handles the actual storage of the node locations (for positive IDs). It must support the set(id, value) and get(id) methods. |
TStorageNegIDs | Same but for negative IDs. |
typedef TStorageNegIDs osmium::handler::NodeLocationsForWays< TStoragePosIDs, TStorageNegIDs >::index_neg_type |
typedef TStoragePosIDs osmium::handler::NodeLocationsForWays< TStoragePosIDs, TStorageNegIDs >::index_pos_type |
|
inlineexplicit |
|
delete |
|
default |
|
defaultnoexcept |
|
inline |
Call clear on the location indexes. Makes the NodeLocationsForWays handler unusable. Used to explicitly free memory if thats needed.
|
inlinestaticprivate |
|
inline |
Get location of node with given id.
|
inline |
|
inline |
Store the location of the node in the storage.
|
delete |
|
default |
|
inline |
Retrieve locations of all nodes in the way from storage and add them to the way object.
|
private |
|
private |
|
private |
Object that handles the actual storage of the node locations (with negative IDs).
|
private |
Object that handles the actual storage of the node locations (with positive IDs).