java.lang.Object
org.apache.jena.geosparql.spatial.SearchEnvelope
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchEnvelopebuild(GeometryWrapper geometryWrapper, SRSInfo srsInfo) static SearchEnvelopebuild(GeometryWrapper geometryWrapper, SRSInfo srsInfo, double radius, String unitsURI) static SearchEnvelopebuild(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.Collection<org.apache.jena.graph.Node>check(SpatialIndex spatialIndex) Collection<org.apache.jena.graph.Node>check(SpatialIndex spatialIndex, org.apache.jena.graph.Node graph) booleancheck(org.locationtech.jts.geom.Envelope envelope) booleanorg.locationtech.jts.geom.Envelopeorg.locationtech.jts.geom.EnvelopeinthashCode()toString()
-
Method Details
-
getMainEnvelope
public org.locationtech.jts.geom.Envelope getMainEnvelope() -
getWrapEnvelope
public org.locationtech.jts.geom.Envelope getWrapEnvelope() -
getSrsURI
-
getCrsInfo
-
check
-
check
public Collection<org.apache.jena.graph.Node> check(SpatialIndex spatialIndex, org.apache.jena.graph.Node graph) -
check
public boolean check(org.locationtech.jts.geom.Envelope envelope) -
toString
-
hashCode
public int hashCode() -
equals
-
build
public static SearchEnvelope build(GeometryWrapper geometryWrapper, SRSInfo srsInfo, double radius, String unitsURI) -
build
- 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.
-