Class OsmElement

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long id  
      org.oscim.core.TagSet tags  
    • Constructor Summary

      Constructors 
      Constructor Description
      OsmElement​(org.oscim.core.TagSet tags, long id)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      abstract 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

      • tags

        public final org.oscim.core.TagSet tags
      • id

        public final long id
    • Constructor Detail

      • OsmElement

        public OsmElement​(org.oscim.core.TagSet tags,
                          long id)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        returns the id, plus an one-letter prefix for the element type
        Overrides:
        toString in class java.lang.Object
      • toJts

        public abstract org.locationtech.jts.geom.Geometry toJts()