[
https://issues.apache.org/jira/browse/LUCENE-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Helleringer updated LUCENE-1934:
----------------------------------------
Attachment: LUCENE-1934.patch
Initial release of path :
- Removed loop for % use in longitude normalisation
- Recoded the Maths around distance calculation using well know implementation
(ref: http://www.movable-type.co.uk/scripts/latlong.html)
- Changed UnitTest on doubles to use precision instead of exact comparaison
(1e-4 of a mile precision)
- Introduced and spread the use of static initialized constants
May need some more work around class def and methods (used/not, static/not, etc
..)
> Rework (Float)LatLng implementation and distance calculation
> ------------------------------------------------------------
>
> Key: LUCENE-1934
> URL: https://issues.apache.org/jira/browse/LUCENE-1934
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/spatial
> Affects Versions: 2.9
> Reporter: Nicolas Helleringer
> Priority: Minor
> Attachments: LUCENE-1934.patch
>
>
> Clean up of the code and normalisation of the distance calculation to standard
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]