Interface OSMEntitySnapshot

    • Method Detail

      • getTimestamp

        OSHDBTimestamp getTimestamp()
        The timestamp for which the snapshot of this data entity has been obtained.
        Returns:
        snapshot timestamp as an OSHDBTimestamp object
      • getGeometry

        org.locationtech.jts.geom.Geometry getGeometry()
        The geometry of this entity at the snapshot's timestamp clipped to the requested area of interest.
        Returns:
        the geometry as a JTS Geometry
      • getGeometryUnclipped

        org.locationtech.jts.geom.Geometry getGeometryUnclipped()
        The geometry of this entity at the snapshot's timestamp. This is the full (unclipped) geometry of the osm entity.
        Returns:
        the unclipped geometry of the osm entity snapshot as a JTS Geometry
      • getEntity

        OSMEntity getEntity()
        The entity for which the snapshot has been obtained.

        This is the (not deleted) version of a OSHEntity that was valid at the provided snapshot timestamp.

        Returns:
        the OSMEntity object of this snapshot
      • getOSHEntity

        OSHEntity getOSHEntity()
        The (parent) osh entity of the osm entity for which the snapshot has been obtained.
        Returns:
        the OSHEntity object corresponding to this snapshot