Package org.oscim.core.osm
Class OsmRelation
- java.lang.Object
-
- org.oscim.core.osm.OsmElement
-
- org.oscim.core.osm.OsmRelation
-
public class OsmRelation extends OsmElement
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<OsmMember>relationMembers-
Fields inherited from class org.oscim.core.osm.OsmElement
id, tags
-
-
Constructor Summary
Constructors Constructor Description OsmRelation(org.oscim.core.TagSet tags, long id, int initialMemberSize)
-
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
-
-
-
-
Field Detail
-
relationMembers
public final java.util.List<OsmMember> relationMembers
-
-
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
-
-