vincentneo / CoreGPX

A library for parsing and creation of GPX location files. Purely Swift.
https://www.vincent-neo.com
MIT License
261 stars 56 forks source link

Support GPX v1.0 #77

Closed vincentneo closed 3 years ago

vincentneo commented 4 years ago

Closes #51.

This pull request aims to support older versions of GPX, including, but not limited to v1.0.

Current plans is to minimise interference on the current, well and working v1.1 code, while supporting conversion between two, aiming to make it manageable to use.

It will probably introduce new classes with legacy name, to demarcate from v1.1 code.

vincentneo commented 3 years ago

can't really test due to the lack of v1 files, but most features should work now.

vincentneo commented 3 years ago

seems to work. tested using a basic v1.0 file with waypoints and trackpoints using a modified version of Avenue GPX Viewer.