Hello, I've tried to implement geographical search using Spacial.Net, but I have the following problem: Some documents are not found in the area they ARE indexed, while others are found properly.
I use the following start point: 47.3833333, 8.5333333 (Zurich, Switzerland) I search for all documents within 50 miles of that start point. Some documents are found right, but others (which are also within this area) are missing. Example for a missing point: 47.324314, 9.564761 (Oberriet, Switzerland), about 48 miles of distance. I only get this one if I increase the search radius to ~ 58 miles, but the distance is measured right by Spacial.Net (outputs 48 miles). I tried to do some code research and have the following guess: - The problem may occur in LLRect class, where the CreateBox(LatLng center, double widthMi, double heightMi) method creates the box for further searching. Seems to me that this box is too small, so that some documents which certainly are inside of the area can't be found because they are just outside of the box. I think that the calculated box is inside the radial circle, while it should be outside (-> circle inside of rectancle). Any guess? What's going wrong here? Best Regards Andreas
