You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nicholas Knize (JIRA)" <ji...@apache.org> on 2016/04/01 16:37:25 UTC

[jira] [Commented] (LUCENE-7154) Add support for polygon holes to Geo3D

    [ https://issues.apache.org/jira/browse/LUCENE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221774#comment-15221774 ] 

Nicholas Knize commented on LUCENE-7154:
----------------------------------------

If we're heading down the path of supporting OGC SFA and ISO 19107 for polygons I can add the ES code I use to do this. It's on my list to refactor from ES anyway but haven't put it here because of the "we're a search engine API". I was planning to refactor to S4J or JTS. Since that's going to slightly change with a refactor to core it makes sense to add/grow the necessary support here?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org