[SERVER-11016] Should Multipolygons whose combined area contain another geometry be considered to $geoWithin contain the geometry? Created: 03/Oct/13 Updated: 14/Mar/17 Resolved: 07/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Ian Bentley | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
The current behaviour is that the geometry is not geoWithin the multiPolygon. This was non-obvious to me, but I can see arguments for either side. |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 07/Oct/13 ] | |||||
|
MultiPolygons should not be treated as compositions of their parts by the query code. It doesn't make sense to say that this Polygon:
Is contained in this MultiPolygon:
However, this needs to be clarified in the documentation. |