Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years 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 by simon04, 8 years ago

Resolution: fixed
Status: newclosed

In 11333/josm:

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

comment:2 by simon04, 8 years ago

Milestone: 16.11

Thanks!

comment:3 by Don-vip, 8 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.