Dear all,
Some users report me issues related to the geographic search.
Example :
2 metadata :
A : N47.80666 S45.82944 W5.96701 E10.48821
B : N46.59355155 S46.37311511 W7.93978178 E8.16021822
If we make a search overlapse on the switzerland (box equal to metadata A)
we may find the both metadata
but en fact only the first one A apear.
Why ? because of the lucene query.
I don't know why we add or delete 1 degree ?
Maybe to have a less restrictive area but finaly in case like in my example
1 degree is important
Example with overlapse query
<BooleanClause required="true" prohibited="false">
<RangeQuery fld="eastBL"
lowerTxt="{$westBL + 1}"
upperTxt="{180 + 360}"
inclusive="true"/>
</BooleanClause>
<BooleanClause required="true" prohibited="false">
<RangeQuery fld="westBL"
lowerTxt="{-180 + 360}"
upperTxt="{$eastBL - 1}"
inclusive="true"/>
</BooleanClause>
<BooleanClause required="true" prohibited="false">
<RangeQuery fld="northBL"
lowerTxt="{$southBL + 1}"
upperTxt="{90 + 360}"
inclusive="true"/>
</BooleanClause>
<BooleanClause required="true" prohibited="false">
<RangeQuery fld="southBL"
lowerTxt="{-90 + 360}"
upperTxt="{$northBL - 1}"
inclusive="true"/>
</BooleanClause>
For my side i delete all this +- 1 degree and the result look better.
May I have some comment about the original reason of this +-1 degree.
Why 1 degree ? why not 0.1 Degree ? or 0.001 ...
Maybe i miss something important on this query.
Best regards,
Fabien Bachraty
--
View this message in context: http://www.nabble.com/Bounding-box-search-tp19759823p19759823.html
Sent from the geonetwork-users mailing list archive at Nabble.com.