benbovy / spherely

Manipulation and analysis of geometric objects on the sphere.
https://spherely.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
119 stars 8 forks source link

Add binding to calculate distance between two geometries #43

Closed gahjelle closed 2 months ago

gahjelle commented 2 months ago

See #17

Adds distance() measurement. The distance is calculated in meters per default, based on a new EARTH_RADIUS_METERS constant. The radius can also be customized in the call to distance().

gahjelle commented 2 months ago

Thanks @benbovy I've updated the docstring.

benbovy commented 2 months ago

Many thanks @gahjelle !