[Potlatch-dev] [OpenStreetMap] #5476: Allow task names to be taken from the GPX <name> tag

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Potlatch-dev] [OpenStreetMap] #5476: Allow task names to be taken from the GPX <name> tag

OpenStreetMap-4
#5476: Allow task names to be taken from the GPX <name> tag
-------------------------+----------------------------
 Reporter:  zstadler     |      Owner:  potlatch-dev@…
     Type:  enhancement  |     Status:  new
 Priority:  trivial      |  Milestone:
Component:  potlatch2    |    Version:
 Keywords:  tasks        |
-------------------------+----------------------------
 == 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()}}}

--
Ticket URL: <https://trac.openstreetmap.org/ticket/5476>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world

_______________________________________________
Potlatch-dev mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/potlatch-dev