edu.ucsb.nceas.metacat.spatial
Class SpatialQuery

java.lang.Object
  extended by 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
SpatialQuery()
          empty constructor to initialize spatial query
 
Method Summary
 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 © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.