sgraaf / gpx Goto Github PK
View Code? Open in Web Editor NEWA python package that brings support for reading, writing and converting GPX files.
Home Page: https://gpx.readthedocs.io/en/stable/
License: Other
A python package that brings support for reading, writing and converting GPX files.
Home Page: https://gpx.readthedocs.io/en/stable/
License: Other
Add an I/O interface / module similar to that of pandas
.
Python 3.7 has gone end-of-life (EOL) on 27 June 2023 (https://endoflife.date/python).
Add conversion methods (to and from) for other file formats, such as:
Just an FYI for other who end up here ...
https://bugs.launchpad.net/lxml/+bug/1913032
Some classes have fields with mutable value (e.g. lists), which are assigned a default value (e.g. empty list). If you have several instances of such a class, they each share the default values.
See the following example for illustration:
my_track_seg = TrackSegement()
my_track_a = Track()
my_track_b = Track()
# Add track segment to track A.
my_track_a.trksegs.append(my_track_seg)
# Because all instances of Track share the same mutable default value for `trksegs`,
# the previous statement adds the track segment also to track B.
assert my_track_a.trksegs[0] == my_track_seg
assert my_track_b.trksegs[0] == my_track_seg
I assume this was an oversight and not a deliberate design decision. For a detailed explanation and possible solutions, see this section in the Python documentation.
Add tests to the project (using the excellent pytest framework).
Automatically format docstrings with docformatter, possibly via a pre-commit hook.
Refactor the PyGPX repository using my cookiecutter-python-package
project template.
When fully implemented, this will bring about the following improvements:
Hello,
Would it be possible to add support for exporting/importing KML files?
Regards,
Jacques-D:
Make PyGPX fully compatible with the the GPX 1.1 specification
This involves introducing new type and element classes and using these where applicable, according to the specification.
Add additional statistics (beside the current distance and total duration), such as:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.