Class SearchEnvelope

java.lang.Object
org.apache.jena.geosparql.spatial.SearchEnvelope

public class SearchEnvelope extends Object
  • Method Details

    • getMainEnvelope

      public org.locationtech.jts.geom.Envelope getMainEnvelope()
    • getWrapEnvelope

      public org.locationtech.jts.geom.Envelope getWrapEnvelope()
    • getSrsURI

      public String getSrsURI()
    • getCrsInfo

      public SRSInfo getCrsInfo()
    • check

      public HashSet<org.apache.jena.rdf.model.Resource> check(SpatialIndex spatialIndex)
    • check

      public boolean check(org.locationtech.jts.geom.Envelope envelope)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • build

      public static SearchEnvelope build(GeometryWrapper geometryWrapper, SRSInfo srsInfo, double radius, String unitsURI)
    • build

      public static SearchEnvelope build(GeometryWrapper geometryWrapper, SRSInfo srsInfo)
      Parameters:
      geometryWrapper -
      srsInfo -
      Returns:
      Search envelope of the geometry in target SRS.
    • build

      public static SearchEnvelope build(GeometryWrapper geometryWrapper, SRSInfo srsInfo, CardinalDirection direction)
      Build search envelope in the indicated cardinal direction.
      Geographic SRS will wrap for half world in East/West directions.
      Other SRS will extend to the valid domain.
      Parameters:
      geometryWrapper -
      srsInfo -
      direction -
      Returns:
      Search envelope in cardinal direction.