Changeset 6015 in josm for trunk/src


Ignore:
Timestamp:
2013-06-19T09:55:15+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #8788 - include unnamed nodes as GPX waypoints during GPX export

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java

    r6009 r6015  
    565565                continue;
    566566            }
     567            WayPoint wpt = new WayPoint(n.getCoor());
    567568            String name = n.get("name");
    568             if (name == null) {
    569                 continue;
    570             }
    571             WayPoint wpt = new WayPoint(n.getCoor());
    572             wpt.attr.put("name", name);
     569            if (name != null) {
     570                wpt.attr.put("name", name);
     571            }
    573572            if (!n.isTimestampEmpty()) {
    574573                wpt.attr.put("time", DateUtils.fromDate(n.getTimestamp()));
Note: See TracChangeset for help on using the changeset viewer.