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 2015/07/01 00:23:05 UTC

[jira] [Updated] (LUCENE-6647) Add GeoHash String Utilities to core GeoUtils

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

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

Initial patch that adds GeoHash string utilities to GeoUtils.java

Currently only tested and validated against Elasticsearch. Will add unit tests to next patch. 

> Add GeoHash String Utilities to core GeoUtils
> ---------------------------------------------
>
>                 Key: LUCENE-6647
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6647
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Nicholas Knize
>         Attachments: LUCENE-6647.patch
>
>
> GeoPointField uses morton encoding to efficiently pack lat/lon values into a single long. GeoHashing effectively does the same thing but uses base 32 encoding to represent this long value as a "human readable" string.  Many user applications already use the string representation of the hash. This issue simply adds the base32 string representation of the already computed morton code.



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