public interface IWay extends IPrimitive
MAX_TAG_LENGTH| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
getDisplayName(NameFormatter formatter)
Replies the display name of a primitive formatted by
formatter |
long |
getNodeId(int idx)
Returns id of the node at given index.
|
int |
getNodesCount()
Replies the number of nodes in this way.
|
default int |
getRealNodesCount()
Replies the real number of nodes in this way (full number of nodes minus one if this way is closed)
|
boolean |
isClosed()
Determines if this way is closed.
|
accept, getChangesetId, getDisplayType, getId, getLocalName, getName, getPrimitiveId, getRawTimestamp, getTimestamp, getUser, getVersion, isDeleted, isIncomplete, isModified, isNewOrUndeleted, isTimestampEmpty, isUndeleted, isUsable, isVisible, setChangesetId, setDeleted, setModified, setOsmId, setRawTimestamp, setTimestamp, setUser, setVisibleget, getKeys, hasKey, hasKeys, hasTag, keySet, put, put, remove, removeAll, setKeysgetType, getUniqueId, isNewint getNodesCount()
default int getRealNodesCount()
getNodesCount(),
isClosed()long getNodeId(int idx)
idx - node indexboolean isClosed()
true if this way is closed, false otherwisedefault java.lang.String getDisplayName(NameFormatter formatter)
IPrimitiveformattergetDisplayName in interface IPrimitiveformatter - formatter to use