Skip to content

Wrong Formula #11

Description

@wglazer

Packages states that it sends all coordinates around radius, but it measures a bounding box, which are not the same.
The method get_postal_codes_around_radius is not correctly named, since it does not look at a radius.

Line 94 of pypostalcode/pypostalcode/__init__.py alsohas an error!

long_range = (pc.longitude - **lat_delta**, pc.longitude + lon_delta)

I believe lat_delta should be lon_delta

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions