uk.me.parabola.mkgmap.reader.osm
Class Node
java.lang.Object
uk.me.parabola.mkgmap.reader.osm.Element
uk.me.parabola.mkgmap.reader.osm.Node
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.String>
public class Node
- extends Element
A node with its own identity. This is a node that is not just being used for
its coordinates (in which case we just use Coord
but has another
use for example it might be a hospital or a candlestick maker.
- Author:
- Steve Ratcliffe
Methods inherited from class uk.me.parabola.mkgmap.reader.osm.Element |
addTag, copyTags, deleteTag, getEntryIteratable, getId, getName, getTag, getTagsWithPrefix, iterator, removeAllTags, setId, setName, toBrowseURL, toTagString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Node
public Node(long id,
Coord co)
getLocation
public Coord getLocation()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
kind
public java.lang.String kind()
- Overrides:
kind
in class Element
copy
public Node copy()
- Overrides:
copy
in class Element