From cd289316ddfc956333e9865e1ca3e06eba2a8016 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 3 Jun 2018 15:22:17 +0200 Subject: [PATCH] Fix #5528 --- .../net/osmand/plus/osmedit/OsmEditsFragment.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java index 22cca899ed..87a87631e9 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java @@ -758,20 +758,20 @@ public class OsmEditsFragment extends OsmAndListFragment implements SendPoiDialo if (point.getGroup() == Group.POI) { OpenstreetmapPoint p = (OpenstreetmapPoint) point; WptPt wpt = new WptPt(); - wpt.name = "node" + " " + OsmPoint.stringAction.get(p.getAction()); + wpt.name = getTagsString(p); wpt.lat = p.getLatitude(); wpt.lon = p.getLongitude(); - wpt.desc = "id: " + String.valueOf(p.getId()); - wpt.comment = getTagsString(p); + wpt.desc = "id: " + String.valueOf(p.getId()) + + " node" + " " + OsmPoint.stringAction.get(p.getAction()); gpx.addPoint(wpt); } else if (point.getGroup() == Group.BUG) { OsmNotesPoint p = (OsmNotesPoint) point; WptPt wpt = new WptPt(); - wpt.name = "note" + " " + OsmPoint.stringAction.get(p.getAction()); + wpt.name = p.getText(); wpt.lat = p.getLatitude(); wpt.lon = p.getLongitude(); - wpt.desc = "id: " + String.valueOf(p.getId()); - wpt.comment = p.getText(); + wpt.desc = "id: " + String.valueOf(p.getId()) + + " note" + " " + OsmPoint.stringAction.get(p.getAction()) ; gpx.addPoint(wpt); } }