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