semvec/pypi-packages huggingface dataset:
gpsdistance 0.0.5
GPS distance between 2D and 3D
License: MIT Licence
Keywords: distance,GPS

# GPS Distance

 [![PyPI](https://img.shields.io/pypi/pyversions/gpsdistance.svg)](https://pypi.org/project/gpsdistance/)
 ![PyPI](https://img.shields.io/pypi/wheel/gpsdistance.svg)
 ![Downloads](https://img.shields.io/pypi/dd/gpsdistance.svg)
 ![License](https://img.shields.io/pypi/l/gpsdistance.svg)

# Install

```bash
$ pip install gpsdistance
```

## Usage


```python
import gpsdistance
```

# Two-dimensional Distance (kilometer based)

```python
dist = gpsdistance.gpsdistance()

print(dist.get_2distance(lat1, lon1, lat2, lon2))
```


# three-dimensional Distance (kilometer based)

```python
dist = gpsdistance.gpsdistance()

print(dist.get_3distance(lat1, lon1, alt1, lat2, lon2, alt2))
```