edu.ucsb.nceas.metacat.spatial

## Class SpatialQuery

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

-     public class SpatialQuery
      extends java.lang.Object

  Class to query the persistent spatial cache and returns docids matching spatial constraints

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SpatialQuery()` empty constructor to initialize spatial query

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Vector<java.lang.String>` | `filterByBbox(float w, float s, float e, float n)` Querys all features in the spatial cache and filters based on bouding coordinates.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SpatialQuery

          public SpatialQuery()

      empty constructor to initialize spatial query

  - ### Method Detail

    - #### filterByBbox

          public java.util.Vector<java.lang.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

Copyright © 2020 Regents of the University of California. All Rights Reserved.