Skip to content

Wrong Formula #11

@williamGlazer

Description

@williamGlazer

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

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