Class OsmWay

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<OsmNode> nodes  
    • Constructor Summary

      Constructors 
      Constructor Description
      OsmWay​(org.oscim.core.TagSet tags, long id, java.util.List<OsmNode> nodes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isClosed()  
      org.locationtech.jts.geom.Geometry toJts()  
      java.lang.String toString()
      returns the id, plus an one-letter prefix for the element type
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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: OsmElement
        returns the id, plus an one-letter prefix for the element type
        Overrides:
        toString in class OsmElement
      • toJts

        public org.locationtech.jts.geom.Geometry toJts()
        Specified by:
        toJts in class OsmElement