[SERVER-848] $center on geoquery doesn't return a circle but some kind of square Created: 30/Mar/10 Updated: 12/Jul/16 Resolved: 02/Jul/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 1.3.4 |
| Fix Version/s: | 1.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeroen van Wilgenburg | Assignee: | Richard Kreuter (Inactive) |
| Resolution: | Done | Votes: | 3 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
The circles in the bound queries are not a circle. I get some kind of square. A small sample to reproduce it: db.places.save({ "loc" : { "x" : 4.9999, "y" : 52 } }) }) }) }) }) }) }) }) }) ) }}) the result: } } } } } } As you can see in the screenshot some points in the corners are highlighted and they shouldn't (distance between points is 0.0001) The second screenshot is the result of a query with radius 0.0002. I expect some kind of circle shape, but I get a square. |
| Comments |
| Comment by Richard Kreuter (Inactive) [ 02/Jul/10 ] |
|
Seems that 224ca4aecdde61bea54af48acf58c39994a497ca fixed this. |
| Comment by auto [ 01/Jul/10 ] |
|
Author: {'login': 'kreuter', 'name': 'Richard Kreuter', 'email': 'richard@10gen.com'}Message: Do one more box of point checks in GeoCircleBrowse. |
| Comment by auto [ 08/Jun/10 ] |
|
Author: {'login': 'kreuter', 'name': 'Richard Kreuter', 'email': 'richard@10gen.com'}Message: Add an error term for distance comparisons in geo search. Part of |