Spatial query errors with multiple geographic coverages
The current spatial query logic (in the servlet action=spatial_query OR in the advancedSearch) does not properly account for documents containing muliple geographic coverages. It simply checks your search box against the xmlpath for northBoundingCoordinate, south, etc. So queries are actually being run against the bounding box of all bounding boxes. The result is that you may be getting false postives.
For example, lets say we have a document with a geographic coverage in northern Maine AND southern California. Someone performs a spatial query around Kansas and this document will show in the results.
In order to perform the proper query, we'll have to compare the spatial search box against EACH of the geographic coverages in a document. My understanding is that we'll need a way to differentiate, based on the xml path, between different geographicCoverages ?