Search in sources :

Example 1 with CardinalDirection

use of org.apache.jena.geosparql.spatial.CardinalDirection in project jena by apache.

the class GenericCardinalGeomPropertyFunction method buildSearchEnvelope.

@Override
protected SearchEnvelope buildSearchEnvelope(GeometryWrapper geometryWrapper, SRSInfo indexSRSInfo) {
    CardinalDirection direction = getCardinalDirection();
    SearchEnvelope searchEnvelope = SearchEnvelope.build(geometryWrapper, indexSRSInfo, direction);
    return searchEnvelope;
}
Also used : CardinalDirection(org.apache.jena.geosparql.spatial.CardinalDirection) SearchEnvelope(org.apache.jena.geosparql.spatial.SearchEnvelope)

Aggregations

CardinalDirection (org.apache.jena.geosparql.spatial.CardinalDirection)1 SearchEnvelope (org.apache.jena.geosparql.spatial.SearchEnvelope)1