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, setVisible
get, getKeys, hasKey, hasKeys, hasTag, keySet, put, put, remove, removeAll, setKeys
getType, getUniqueId, isNew
int 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)
IPrimitive
formatter
getDisplayName
in interface IPrimitive
formatter
- formatter to use