[
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: [email protected]
For additional commands, e-mail: [email protected]