geojson_transformer gives you the ability to extract data from gpx files and transform them into geojson format.
Project description
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 to install geojson_transformer.
pip install geojson_transformer
Usage
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for geojson_transformer-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2b609d87b303c24af7b6baf957c697961cc5c7453938652054fe85bc5fe92bc |
|
MD5 | 921b9eab0917316e9c2e8bae02d60c83 |
|
BLAKE2b-256 | dbd0df24e2c4d07171f7b422af26aa706487f2c700cfd4f0a3cb664d7c61dd18 |
Close
Hashes for geojson_transformer-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ba576d6b0455fe4a8aa1e60faf5bce7c0b3d4a7724ad87cb1e1272983888b21 |
|
MD5 | efcb688e62aa21b80b6c870dd7611fd2 |
|
BLAKE2b-256 | dfd018a2b5b9142de5898c4ed7017968bfbe98698081df8b29b0bc03b28def5d |