Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waypoints not including comments & a few wpt schema elements missing #25

Open
thmsdnnr opened this issue Nov 24, 2017 · 0 comments
Open

Comments

@thmsdnnr
Copy link

  1. Previously the Waypoint creation in gpxParse did not pass the XML-extracted parameter for cmt, so any comment in the waypoint XML was not associated with the new GpxWaypoint.
    gpx-parse.js > L31:
var point = new GpxWaypoint(wayPoint.$.lat, wayPoint.$.lon, getFloat(wayPoint.ele), wayPoint.time, null, null, getString(wayPoint.name), null, getString(wayPoint.desc));

gpxWaypoint > L19:

function GpxWaypoint(lat, lon, elevation, time, magvar, geoidheight, name, cmt, desc, src, links, sym, type) {
  1. There are also a few schema elements in the GPX 1.1 Waypoint schema not yet supported or implemented by the parser: magvar, geoidheight, cmt, src, links, sym, type, fix, hdop, vdop, pdop, ageofdgpsdata, dgpsid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant