Class OsmNode

    • Field Summary

      Fields 
      Modifier and Type Field Description
      double lat  
      double lon  
    • 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.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

      • lat

        public final double lat
      • lon

        public final double lon
    • Constructor Detail

      • OsmNode

        public OsmNode​(double lat,
                       double lon,
                       org.oscim.core.TagSet tags,
                       long id)
    • Method Detail

      • 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