You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2016/04/10 13:17:25 UTC
[jira] [Created] (LUCENE-7199) Improve algorithm for randomly
finding an interior point for Geo3D polygons
Karl Wright created LUCENE-7199:
-----------------------------------
Summary: Improve algorithm for randomly finding an interior point for Geo3D polygons
Key: LUCENE-7199
URL: https://issues.apache.org/jira/browse/LUCENE-7199
Project: Lucene - Core
Issue Type: Improvement
Components: modules/spatial3d
Affects Versions: master
Reporter: Karl Wright
Assignee: Karl Wright
[~mikemccand]'s benchmark for polygon search shows that constructing Geo3D polygon queries is quite expensive compared to other technologies. My belief is that this is due largely to how an interior point for determination of clockwise/counterclockwise are found: this is currently searched for randomly across the entire globe.
I suspect that we could replace this algorithm with a random algorithm that uses one of the polygon's edge points and looks randomly within a small distance of that point. This would greatly reduce the number of failed attempts to find a "pole" (as I call it).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org