Module org.apache.jena.geosparql
Class SpatialIndexFindUtils
java.lang.Object
org.apache.jena.geosparql.spatial.SpatialIndexFindUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem>findIndexItems(org.apache.jena.graph.Graph graph, String srsURI) Find items from the Model transformed to the SRS URI.static org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem>findIndexItems(org.apache.jena.sparql.core.DatasetGraph datasetGraph, String srsURI) Find Spatial Index Items from all graphs in Dataset.static org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem>findIndexItemsGeoSparql(org.apache.jena.graph.Graph graph, String srsURI) static org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem>findIndexItemsWgs84(org.apache.jena.graph.Graph graph, String srsURI) static SpatialIndexItemmakeSpatialIndexItem(org.apache.jena.graph.Node feature, GeometryWrapper geometryWrapper, String srsURI) static GeometryWrapperunsafeConvert(GeometryWrapper geometryWrapper, String srsURI)
-
Constructor Details
-
SpatialIndexFindUtils
public SpatialIndexFindUtils()
-
-
Method Details
-
findIndexItems
public static org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem> findIndexItems(org.apache.jena.sparql.core.DatasetGraph datasetGraph, String srsURI) Find Spatial Index Items from all graphs in Dataset.- Parameters:
datasetGraph-srsURI-- Returns:
- SpatialIndexItems found.
-
findIndexItems
public static final org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem> findIndexItems(org.apache.jena.graph.Graph graph, String srsURI) Find items from the Model transformed to the SRS URI.- Parameters:
graph-srsURI-- Returns:
- Items found in the Model in the SRS URI.
-
findIndexItemsGeoSparql
public static org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem> findIndexItemsGeoSparql(org.apache.jena.graph.Graph graph, String srsURI) - Parameters:
graph-srsURI-- Returns:
- SpatialIndexItem items prepared for adding to SpatialIndex.
-
findIndexItemsWgs84
public static org.apache.jena.atlas.iterator.IteratorCloseable<SpatialIndexItem> findIndexItemsWgs84(org.apache.jena.graph.Graph graph, String srsURI) - Parameters:
graph-srsURI-- Returns:
- Geo predicate objects prepared for adding to SpatialIndex.
-
makeSpatialIndexItem
public static SpatialIndexItem makeSpatialIndexItem(org.apache.jena.graph.Node feature, GeometryWrapper geometryWrapper, String srsURI) -
unsafeConvert
-