Bug #2505
closedSpatial query errors with multiple geographic coverages
0%
Description
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 ?
Updated by Matthew Perry over 18 years ago
See bug 2499. Refactoring of spatial harvesting process has this handled.
Instead of representing each document as a single point or polygon, they are now defined as a multi-point (one feature -> mutiple points ) or a multi-polygon.