Package com.geodesk.feature
Interface Node
- All Superinterfaces:
Feature
A
Feature
that represents a single point.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether this `Node` belongs to a `Way`.Returns all `Way`s to which this `Node` belongs.Methods inherited from interface com.geodesk.feature.Feature
area, belongsTo, belongsToRelation, booleanValue, bounds, hasTag, hasTag, id, intValue, isArea, lat, length, lon, parentRelations, role, stringValue, tag, tags, toGeometry, type, x, y
-
Method Details
-
belongsToWay
boolean belongsToWay()Checks whether this `Node` belongs to a `Way`.- Returns:
- `true` if this `Node` forms part of a `Way`, or `false` if it is a stand-alone node
-
parentWays
Returns all `Way`s to which this `Node` belongs.- Returns:
- a collection of ways, or an empty collection if this a stand-alone node
-