A library to combine gpx files exported from runkeeper.com to kml files
Project description
gpx2kml
gpx2kml is a library for combining gpx files exported from Runkeeper to kml files. Below is a screenshot of the generated kml file in Google Earth.
Introduction
Runkeeper is one of many mobile apps that can track exercises. Usually they provide UI for displaying individual activity (like biking, running, etc.) with route map and statistics, and the functionality to bulk export archive files.
gpx2kml can combine all the gpx files exported from Runkeeper into a single kml file so that it can be displayed in the Google Earth. The motivation is mainly to prepare data for my bike journey webpage.
User scenario
I use Runkeeper to track my biking and walking activities. Tracking is a long term activity, so file generation and archive is an incremental process.
I export the gpx files once per month, and generate kml files from the gpx files with the format YYYY-MM.kml. After that, all the kml files are combined into a single kml file, usually named after the city or the event related with those activities.
Installation
pip install gpx2kml
How to use it
Run a single interactive command and choose tasks from a terminal menu:
gpx2kml
- Accumulate a few activities using Runkeeper.
- Export the acitives from the Runkeeper web UI and download the file. The demo folder provides a sample zip file.
- Open a terminal, and change the working directory to the one that contains the zip file.
- Select menu option 1 to archive GPX files from a Runkeeper export zip. This creates an archive folder.
- Select menu option 2 to generate monthly KML files. This creates a kml folder with YYYY-MM.kml files.
- Move the kml files into kml/XXX, then select menu option 3 and input XXX to combine them into XXX.kml.
Other than running the commands in the terminal, there is a demo.py that demonstrates how to call the methods in a python file.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpx2kml-0.1.4.tar.gz.
File metadata
- Download URL: gpx2kml-0.1.4.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f24dd8f76fba943b4a63bde28352abb453e624f46d71c603f692ce3825720bc0
|
|
| MD5 |
fd6ccce83876cf8b35c531413919a025
|
|
| BLAKE2b-256 |
e4c1ad272979cca04a8aee8474b84ced03d61ada48e7ee125fb026981bb987f1
|
Provenance
The following attestation bundles were made for gpx2kml-0.1.4.tar.gz:
Publisher:
publish-to-pypi.yml on kan-fu/gpx2kml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpx2kml-0.1.4.tar.gz -
Subject digest:
f24dd8f76fba943b4a63bde28352abb453e624f46d71c603f692ce3825720bc0 - Sigstore transparency entry: 1292050348
- Sigstore integration time:
-
Permalink:
kan-fu/gpx2kml@41e37387003a65b6de801d32a62142899be90422 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/kan-fu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@41e37387003a65b6de801d32a62142899be90422 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpx2kml-0.1.4-py3-none-any.whl.
File metadata
- Download URL: gpx2kml-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a76bfb0c66d8f630f7f4637d2f00ef395ff19243575f30391485464e662dfb49
|
|
| MD5 |
1598b078ee475c1aa60e6fd2bf5ae6c5
|
|
| BLAKE2b-256 |
980057c9fbe2373d90819b7afa21e2bee1eb95fff3632d185e648df540a81719
|
Provenance
The following attestation bundles were made for gpx2kml-0.1.4-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on kan-fu/gpx2kml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpx2kml-0.1.4-py3-none-any.whl -
Subject digest:
a76bfb0c66d8f630f7f4637d2f00ef395ff19243575f30391485464e662dfb49 - Sigstore transparency entry: 1292050446
- Sigstore integration time:
-
Permalink:
kan-fu/gpx2kml@41e37387003a65b6de801d32a62142899be90422 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/kan-fu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@41e37387003a65b6de801d32a62142899be90422 -
Trigger Event:
push
-
Statement type: