squery needs to handle spatial query
The current metacat spatial query is based on simple comparison of the four bounding values which is slow and potentially inaccurate. see ( bug 2552 )
The squuery code should be able to recognize when a spatial query is being performed and pass that off to the SpatialQuery class ( again bug 2552 ). Might want to review DocumentIdQuery for code to convert the vector of docids into a valid squery.
Ideally, we could update the squery dtd to include special tags for spatial queries, possibly following the OGC Filter specification.