Package org.oscim.core.osm
Class OsmNode
- java.lang.Object
-
- org.oscim.core.osm.OsmElement
-
- org.oscim.core.osm.OsmNode
-
public class OsmNode extends OsmElement
-
-
Field Summary
Fields Modifier and Type Field Description doublelatdoublelon-
Fields inherited from class org.oscim.core.osm.OsmElement
id, tags
-
-
Constructor Summary
Constructors Constructor Description OsmNode(double lat, double lon, org.oscim.core.TagSet tags, long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.GeometrytoJts()java.lang.StringtoString()returns the id, plus an one-letter prefix for the element type-
Methods inherited from class org.oscim.core.osm.OsmElement
equals, hashCode
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Description copied from class:OsmElementreturns the id, plus an one-letter prefix for the element type- Overrides:
toStringin classOsmElement
-
toJts
public org.locationtech.jts.geom.Geometry toJts()
- Specified by:
toJtsin classOsmElement
-
-