Modify ↓
#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)
Note:
See TracTickets
for help on using tickets.



In 11333/josm: