Skip to content

Error in Haversine formula at position class in Datatypes.py #109

Description

@diego-garro

Correct formula is:

a = sin(0.5(lat2 - lat1)) * sin(0.5(lat2 - lat1)) + cos(lat1) * cos(lat2) * sin(0.5 * (long2 - long1)) * sin(0.5 * (long2 - long1))

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