Skip to content

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

@thmsdnnr

Description

@thmsdnnr
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions