Class SpatialQuery

java.lang.Object
edu.ucsb.nceas.metacat.spatial.SpatialQuery

public class SpatialQuery extends Object
Class to query the persistent spatial cache and returns docids matching spatial constraints
  • Constructor Details

    • SpatialQuery

      public SpatialQuery()
      empty constructor to initialize spatial query
  • Method Details

    • filterByBbox

      public Vector<String> filterByBbox(float w, float s, float e, float n)
      Querys all features in the spatial cache and filters based on bouding coordinates. Returns Vector of docids.
      Parameters:
      w - West bounding coordinate
      s - South bounding coordinate
      e - East bounding coordinate
      n - North bounding coordinate