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 2015/06/10 15:57:01 UTC

[jira] [Updated] (LUCENE-6544) Geo3d cleanup: Regularize path and polygon construction, plus consider adding ellipsoid surface distance method

     [ https://issues.apache.org/jira/browse/LUCENE-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright updated LUCENE-6544:
--------------------------------
    Attachment: LUCENE-6544.patch

First bit of cleanup; locally cache lat and lon in geopoints so we don't need to recompute it, and add an ellipsoid distance computation method.

> Geo3d cleanup: Regularize path and polygon construction, plus consider adding ellipsoid surface distance method
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6544
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6544
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/spatial
>            Reporter: Karl Wright
>         Attachments: LUCENE-6544.patch
>
>
> Geo3d's way of constructing polygons and paths differs in that in one case you construct points and the other you feed lat/lon values directly to the builder.  Probably both should be supported for both kinds of entity.
> Also it may be useful to have an accurate point-point ellipsoidal distance function.  This is expensive and would be an addition to the arc distance we currently compute.  It would probably be called "surface distance".



--
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