[
https://issues.apache.org/jira/browse/LUCENE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221807#comment-15221807
]
Karl Wright commented on LUCENE-7154:
-------------------------------------
Geo3D has, of course, a whole different way of doing this, with its own
problems. I'm currently working on the issues I've found here under the
LUCENE-7157 ticket. I'm making okay progress but not anywhere near done yet.
A general algorithm for detecting clockwise vs. counterclockwise is one area
that is a pain for general polygons; I can detect this but ONLY if the proper
"pole" point is calculable. I know when I've got a good one, but I currently
can only pick one at random until I find one that qualifies. Anyway, please
carry on the discussion in LUCENE-7157.
> Add support for polygon holes to Geo3D
> --------------------------------------
>
> Key: LUCENE-7154
> URL: https://issues.apache.org/jira/browse/LUCENE-7154
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: Karl Wright
> Attachments: LUCENE-7154.diff
>
>
> Real-world polygons (e.g. from ESRI) have holes in them. We need polygon
> support in geo3D that works in the same way.
> The proposal would be to change the GeoConvexPolygon constructor to include a
> number of GeoPolygon inputs, each of which would specify a hole. Then, the
> GeoPolygonFactory.makeGeoPolygon() method would also need to accept a similar
> list of GeoPolygon hole descriptions.
> This change is likely to be fairly complex because of the already tricky
> algorithm used to create convex polygons from non-convex ones, implemented in
> GeoPolygonFactory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]