lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Helleringer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1934) Rework (Float)LatLng implementation and distance calculation
Date Thu, 01 Oct 2009 11:20:23 GMT

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


Mime
View raw message