[
https://issues.apache.org/jira/browse/LUCENE-6710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicholas Knize updated LUCENE-6710:
-----------------------------------
Attachment: LUCENE-6710.patch
Patch to use full 64 bit precision for morton encoding, unit test included.
> GeoPointField should use full 64 bit encoding
> ---------------------------------------------
>
> Key: LUCENE-6710
> URL: https://issues.apache.org/jira/browse/LUCENE-6710
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Nicholas Knize
> Attachments: LUCENE-6710.patch
>
>
> Current GeoPointField uses 31 bits for each lat and long, respectively. This
> causes a precision error for the maximum bounds for 2D mapping applications
> (e.g., instead of maximum of 180, 90 the max value handled is 179.999999,
> 89.999999).
> This issue improves precision for the full 2D map boundaries by using the
> full 32 bit range for lat/lon values, resulting in a morton hash using the
> full 64 bit range.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]