Skip to content

Inconsistent translation #16

@aa1vs

Description

@aa1vs

Howdy,

I am having issues with the first four characters disagreeing in my use case. maidenhead version is 1.7.0
python is 3.13.3
OS is Ubuntu 25.04

the following code :
import maidenhead as mh
print(mh.to_maiden(53.997883,-115.544533,2))
print(mh.to_maiden(53.997883,-115.544533,3))

results in
DO24
DO23fx

I am not sure whether it is a DO24 or DO23 but they should match.

Thankis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions