Class OsmWay


public class OsmWay extends OsmElement
  • Field Details

  • Constructor Details

    • OsmWay

      public OsmWay(org.oscim.core.TagSet tags, long id, List<OsmNode> nodes)
  • Method Details

    • isClosed

      public boolean isClosed()
    • toString

      public 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