Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New
Description
The polygon factory uses a randomize algorithm to find a point inside of the polygon. This might fail, in particular when polygons are very small. I want to propose a small improvement; Before going into the randomize algorithm, we can first try to try a point defined by the center of mass of the provided points. This approach improves things, for example for very small polygons with three points.
does it make sense?
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-7514 TestLatLonPointQueries fails with biased (evil) numbers
-
- Resolved
-