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 00:13:25 UTC

[jira] [Updated] (LUCENE-7152) Refactor lucene-spatial GeoUtils to core

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

Nicholas Knize updated LUCENE-7152:
-----------------------------------
    Attachment: LUCENE-7152.patch

Initial quick patch includes the following:

* refactors {{o.a.l.spatial.util.GeoUtils}} from {{spatial}} to {{core}} module in package {{o.a.l.geo}}
* Keeps {{GeoRect}} in {{spatial}} module and refactors {{circleToBBox}} {{polyToBBox}} to {{GeoRect.fromPointDistance}} {{GeoRect.fromPolygon}}, respectively
* Refactors {{axisLat}} and error constant to {{GeoRect}}
* Removes some unnecessary sloppy math (e.g., sloppySin)

> Refactor lucene-spatial GeoUtils to core
> ----------------------------------------
>
>                 Key: LUCENE-7152
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7152
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Nicholas Knize
>         Attachments: LUCENE-7152.patch
>
>
> {{GeoUtils}} contains a lot of common spatial mathematics that can be reused across multiple packages. As discussed in LUCENE-7150 this issue will refactor GeoUtils to a new {{o.a.l.util.geo}} package in core that can be the home for other reusable spatial utility classes required by field and query implementations. 



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