GeoDesk for C++
Fast and storage-efficient spatial database engine for OpenStreetMap features
|
A Feature that represents a linestring, linear ring, or a simple polygon. More...
#include <Way.h>
Public Member Functions | |
Type & Identity | |
FeatureType | type () const noexcept |
FeatureType::WAY | |
int64_t | id () const noexcept |
The ID of this Way. | |
bool | isNode () const noexcept |
Always false | |
bool | isAnonymousNode () const noexcept |
Always false | |
bool | isWay () const noexcept |
Always true | |
bool | isRelation () const noexcept |
Always false | |
bool | isArea () const noexcept |
true if this Way represents an area. | |
bool | belongsToRelation () const noexcept |
true if this Way belongs to at least one Relation. | |
StringValue | role () const noexcept |
The Way's role in its Relation, if it was returned via members() or Features::membersOf(), otherwise an empty string. | |
A Feature that represents a linestring, linear ring, or a simple polygon.
Every Way has two or more nodes, which can be retrieved via nodes().
|
noexcept |
|
noexcept |
The ID of this Way.
|
noexcept |
Always false
|
noexcept |
true
if this Way represents an area.
|
noexcept |
Always false
|
noexcept |
Always false
|
noexcept |
Always true
|
noexcept |
The Way's role in its Relation, if it was returned via members() or Features::membersOf(), otherwise an empty string.
|
noexcept |