Skip to content

No normalization in the inverse_haversine #83

@yoramzarai

Description

@yoramzarai

Hi

Thank you for your code. I find it very useful.

I do have two questions:

  1. In the haversine function, you either normalize the latitude and longitude or check that they are in the correct range. However, in the inverse_haversine function, after computing the output latitude and longitude, you by default do not normalize them, and there is no checking that they are in the range. Why is that?
  2. How would you use the haversine and the inverse_haversine functions to map, for example, two GPS points (each defined by its latitude and longitude) to 2 points on a Cartesian 2D (XY) grid, and then back to GPS points?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions