Package org.oscim.core.osm
Class OsmWay
- java.lang.Object
-
- org.oscim.core.osm.OsmElement
-
- org.oscim.core.osm.OsmWay
-
public class OsmWay extends OsmElement
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<OsmNode>nodes-
Fields inherited from class org.oscim.core.osm.OsmElement
id, tags
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisClosed()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
-
-
-
-
Field Detail
-
nodes
public final java.util.List<OsmNode> nodes
-
-
Constructor Detail
-
OsmWay
public OsmWay(org.oscim.core.TagSet tags, long id, java.util.List<OsmNode> nodes)
-
-
Method Detail
-
isClosed
public boolean isClosed()
-
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
-
-