Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments
Open

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

openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments

Comments

@openstreetmap-trac
Copy link

Reporter: zstadler
[Submitted to the original trac issue database at 12.49pm, Monday, 16th October 2017]

== 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 [https://github.com/systemed/potlatch2/blob/master/net/systemeD/potlatch2/dialogs/TasksDialog.mxml#L98 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()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant