GeoDesk for C++
Fast and storage-efficient spatial database engine for OpenStreetMap features
|
A Feature that represents a single point. More...
#include <Node.h>
Public Member Functions | |
Type & Identity | |
FeatureType | type () const noexcept |
FeatureType::NODE | |
int64_t | id () const noexcept |
The ID of this Node. | |
bool | isNode () const noexcept |
Always true | |
bool | isAnonymousNode () const noexcept |
true if this Feature is an anonymous node. | |
bool | isWay () const noexcept |
Always false | |
bool | isRelation () const noexcept |
Always false | |
bool | isArea () const noexcept |
Always false | |
bool | belongsToRelation () const noexcept |
true if this Node belongs to at least one Relation. | |
StringValue | role () const noexcept |
The Node's role in its Relation, if it was returned via members() or Features::membersOf(), otherwise an empty string. | |
A Feature that represents a single point.
|
noexcept |
|
noexcept |
true
if this Feature is an anonymous node.
An anonymous node is a Node that has no tags and does not belong to any relation; it merely exists as a vertex of a Way. Its ID is always 0
and its FeaturePtr
is a nullptr
.
|
noexcept |
Always false
|
noexcept |
Always true
|
noexcept |
Always false
|
noexcept |
Always false
|
noexcept |
The Node's role in its Relation, if it was returned via members() or Features::membersOf(), otherwise an empty string.
|
noexcept |