Skip to main content

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

MIT

Metadata

Release files for geojson-transformer 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geojson-transformer 0.0.7
File Size Uploaded Provenance Actions
geojson_transformer-0.0.7.tar.gz 5.4 kB Without provenance Details for geojson_transformer-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geojson-transformer 0.0.7
File Interpreter ABI Platform Actions
geojson_transformer-0.0.7-py3-none-any.whl Python 3 none any Details for geojson_transformer-0.0.7-py3-none-any.whl

Total release size: 11.6 kB

Release files / geojson_transformer-0.0.7.tar.gz

Download URL geojson_transformer-0.0.7.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9a3fb394b7d1f338a2ddceb915cab992d00437fb3edb31162da6d17da22a416f
BLAKE2b-256 checksum
How to use checksums
31da4c248947452b4a65d0d971be529793ea6140db18cfd0d7591514984cedf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release files / geojson_transformer-0.0.7-py3-none-any.whl

Download URL geojson_transformer-0.0.7-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6d68718706ca58d77916c6d97b8d357ed2e44686b5369d9b8dc09f793aafd2f
BLAKE2b-256 checksum
How to use checksums
9c0bfbdd97c9afb684bf9ae398b47108b921cf302f33be422d750f55bfdce171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Security for geojson-transformer 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page