Class OSMWay

    • Constructor Detail

      • OSMWay

        public OSMWay​(long id,
                      int version,
                      long timestamp,
                      long changeset,
                      int userId,
                      int[] tags,
                      OSMMember[] refs)
    • Method Detail

      • getMembers

        public OSMMember[] getMembers()
        Returns the members for this current version.
        Returns:
        OSMMember for this version
      • getMemberEntities

        public Stream<OSMNode> getMemberEntities​(OSHDBTimestamp timestamp)
        Returns a stream of all member entities (OSM) for the given timestamp.
        Parameters:
        timestamp - the timestamp for the osm member entity
        Returns:
        stream of member entities (OSM)