[Potlatch-dev] [OpenStreetMap] #3669: Lack of support for waypoints in GPX files

OpenStreetMap trac at openstreetmap.org
Sat Apr 9 17:32:01 BST 2011


#3669: Lack of support for waypoints in GPX files
---------------------------------+------------------------------------------
 Reporter:  SomeoneElse          |       Owner:  potlatch-dev@…                
     Type:  defect               |      Status:  new                           
 Priority:  major                |   Milestone:                                
Component:  potlatch2            |     Version:                                
 Keywords:  waypoint wpt garmin  |  
---------------------------------+------------------------------------------
 Potlatch2 does display waypoints in GPX files when editing, but makes it
 extremely difficult to do anything useful with them.

 Take for example this simple GPX:

 http://www.openstreetmap.org/edit?editor=potlatch2&lat=53.1174&lon=-1.451&zoom=14&gpx=981163

 You can see what name it is, but can't see any other attributes.  If you
 click on it, nothing happens (in Potlatch 1 you could view all the
 attributes before the waypoint had been made into a node).

 In order to view the attributes, you have to left-alt-click on it.  Now
 you can see what it's supposed to be (in this case FWIW a change of speed
 limit) and can edit accordingly.

 However, when you come to save, "an unexpected error occurred, probably
 due to a bug in Potlatch2".  You're given the option to retry, but the
 same error reoccurs.  The error occurs because alt-left-clicking on the
 waypoint converts it to a node, and the Garmin "extensions" tag is way
 more than 255 characters.  When Potlatch1 converted waypoints to nodes it
 didn't have this problem; maybe it stripped out these extra-large tag
 values?  Note that the "unexpected error" doesn't say which node had the
 problem, so if you've done editing involving more than one waypoint
 finding the problem one is extremely tedious.  In order to prevent the
 "save" error you can delete "reference" waypoints after converting them to
 nodes, but this means that you can't see the reference information, so you
 have to save, commit, reopen the GPX again, taking much longer than in
 Potlatch 1.

 Another issue is that, unlike with Potlatch 1, it isn't possible to draw a
 way through a waypoint just by clicking on it (even alt-left-click doesn't
 work for some reason).  You have to click somewhere else to stop drawing
 the way, alt-left-click on the waypoint to turn it into a node, then then
 start drawing the way again.

 Another issue is the one mentioned in
 http://help.openstreetmap.org/questions/2355/waypoint-handling-in-
 potlatch-2 - it isn't possible to alt-left-click on a waypoint underneath
 an existing feature, and if you've used waypoints to mark features to say
 perhaps "add xyz tag" that's going to happen lots of the time.

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



More information about the Potlatch-dev mailing list