Metadata-Version: 2.1
Name: geojson_transformer
Version: 0.0.3
Summary: Tool for extracting data from geojson or gpx files
Home-page: https://github.com/ivan4oto/gpx_geojson_py/
Author: Ivan Gochev
Author-email: ivan.gotchev94@gmail.comm
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/ivan4oto/gpx_geojson_py/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# geojson_transformer

A python library for transforming GPX data to GeoJSON format.
It also gives you the ability to extract data from the gpx file such as:
Total elevation, total distance, starting point, paired data.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install geojson_transformer.

```bash
pip install geojson-transformer
```

## Usage

```python
from geojson_transformer import GeoJsonTransformer

# Create an object from a gpx file.
gpxfile = GeoJsonTransformer(path='path/to/my_gpx_file.gpx') 

# Returns the total distance between each point in the gpx file.
gpxfile.total_distance

# Returns the total cumulative elevation between each point in the gpx file.
gpxfile.total_elevation

# Returns the first lat/lon pair found in the file.
gpxfile.starting_point
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)

