Opened 21 months ago

#5476 new enhancement

Allow task names to be taken from the GPX <name> tag

Reported by: zstadler Owned by: potlatch-dev@…
Priority: trivial Milestone:
Component: potlatch2 Version:
Keywords: tasks Cc:

Description

Description

The GPX recording produced by my navigation app includes notes I enter as waypoints. However, when I open the trace with Potlatch 2's "Tasks" button, the tasks list is empty.

Cause

The note is stored in the <name> tag, but Potlatch 2 does not consider this tag when reading a tasks GPX file.

Potential fix

Please add the <name> tag to the list of tags used for extracting task text.

As far as I could see from the source code, this could be done by using

text: wpt.desc || wpt.cmt || wpt.sym || wpt.name

instead of

text: wpt.desc || wpt.cmt || wpt.sym

in TasksDialog.mxml's parseFromGPX()

Change History (0)

Note: See TracTickets for help on using tickets.