Class SpatialIndexFindUtils

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

public class SpatialIndexFindUtils extends Object
  • 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

      public static GeometryWrapper unsafeConvert(GeometryWrapper geometryWrapper, String srsURI)