This project was first created to test CoreGPX's branch enhancements/56 pull request. Throughout testing, I felt that this app could have been useful, hence it ended up being an open-source project of its own.
To be frank, it is not really a typical file compression, instead, some waypoints are removed throughout the GPX file, depending on the method chosen, such that the GPX file is smaller. This is also why its a lossy process.
After this process, location track data is still preserved, just that its of lower fidelity, as lesser waypoints are kept.
Just visit GPXCompressor's releases to get the latest release of the app!
You can directly run the app, or to copy to to Applications folder, whichever way suits you.
NOTE: GPXCompressor is not (yet) notarized by Apple, as I don't know how (or if it is even possible) to get it notarized when I do not have an Apple Developer membership.
Current methods include:
- to remove duplicate waypoints
- to remove nearby waypoints within a detected radius
- to remove at random; % of removal can be selected.
All waypoint types of GPX can be treated, including waypoint
, trackpoint
or routepoint
.
Contributions to this project will be more than welcomed. Feel free to add a pull request or open an issue. If you require a feature that has yet to be available, do open an issue, describing why and what the feature could bring and how it would help you!
Copyright © 2019 Vincent Neo.
GPXCompressor is a free macOS application, and its source code is released/licensed under GNU General Public License v3.0.
This program is distributed WITHOUT ANY WARRANTY. See the GNU General Public License for more details.