Modify

Opened 12 months ago

Closed 12 months ago

Last modified 11 months ago

#14056 closed enhancement (fixed)

Add <src> to GPX to OSM data layer conversion

Reported by: Vidar Gundersen Owned by: team
Priority: normal Milestone: 16.12
Component: Core Version: latest
Keywords: gpx Cc:

Description

The GPX waypoint property "src" can be mapped to "source".

source:josm/trunk/src/org/openstreetmap/josm/gui/layer/gpx/ConvertToDataLayerAction.java

*** 107,113 ****
              for (Marker marker : layer.data) {
                  final Node node = new Node(marker.getCoor());
                  final Collection<String> mapping = Main.pref.getCollection("gpx.to-osm-mapping",
!                         Arrays.asList("name", "name", "desc", "description", "cmt", "note", "sym", "gpxicon"));
                  if (mapping.size() % 2 == 0) {
                      final Iterator<String> it = mapping.iterator();
                      while (it.hasNext()) {
--- 107,113 ----
              for (Marker marker : layer.data) {
                  final Node node = new Node(marker.getCoor());
                  final Collection<String> mapping = Main.pref.getCollection("gpx.to-osm-mapping",
!                         Arrays.asList("name", "name", "desc", "description", "cmt", "note", "src", "source", "sym", "gpxicon"));
                  if (mapping.size() % 2 == 0) {
                      final Iterator<String> it = mapping.iterator();
                      while (it.hasNext()) {

Attachments (0)

Change History (3)

comment:1 Changed 12 months ago by simon04

Resolution: fixed
Status: newclosed

In 11333/josm:

fix #14056 - Add src to GPX to OSM data layer conversion (patch by Vidar Gundersen)

comment:2 Changed 12 months ago by simon04

Milestone: 16.11

Thanks!

comment:3 Changed 11 months ago by Don-vip

Milestone: 16.1116.12

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.