Skip to content

How do I generate 9 digit geohash ? #2

@vherasme

Description

@vherasme

I would like to know how to modify the code in order to generate 9 digit geohashes. When I set the length = 9, the encode method returns 8 digits. similarly if I set length = 11, encode returns 10.

On the other hand, when the length is set to 10 or 12, the digits returned are exactly 10 or 12 respectively.

Could you please explain why this happens ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions