Fix #5528
This commit is contained in:
parent
c2f41a5370
commit
cd289316dd
1 changed files with 6 additions and 6 deletions
|
@ -758,20 +758,20 @@ public class OsmEditsFragment extends OsmAndListFragment implements SendPoiDialo
|
||||||
if (point.getGroup() == Group.POI) {
|
if (point.getGroup() == Group.POI) {
|
||||||
OpenstreetmapPoint p = (OpenstreetmapPoint) point;
|
OpenstreetmapPoint p = (OpenstreetmapPoint) point;
|
||||||
WptPt wpt = new WptPt();
|
WptPt wpt = new WptPt();
|
||||||
wpt.name = "node" + " " + OsmPoint.stringAction.get(p.getAction());
|
wpt.name = getTagsString(p);
|
||||||
wpt.lat = p.getLatitude();
|
wpt.lat = p.getLatitude();
|
||||||
wpt.lon = p.getLongitude();
|
wpt.lon = p.getLongitude();
|
||||||
wpt.desc = "id: " + String.valueOf(p.getId());
|
wpt.desc = "id: " + String.valueOf(p.getId()) +
|
||||||
wpt.comment = getTagsString(p);
|
" node" + " " + OsmPoint.stringAction.get(p.getAction());
|
||||||
gpx.addPoint(wpt);
|
gpx.addPoint(wpt);
|
||||||
} else if (point.getGroup() == Group.BUG) {
|
} else if (point.getGroup() == Group.BUG) {
|
||||||
OsmNotesPoint p = (OsmNotesPoint) point;
|
OsmNotesPoint p = (OsmNotesPoint) point;
|
||||||
WptPt wpt = new WptPt();
|
WptPt wpt = new WptPt();
|
||||||
wpt.name = "note" + " " + OsmPoint.stringAction.get(p.getAction());
|
wpt.name = p.getText();
|
||||||
wpt.lat = p.getLatitude();
|
wpt.lat = p.getLatitude();
|
||||||
wpt.lon = p.getLongitude();
|
wpt.lon = p.getLongitude();
|
||||||
wpt.desc = "id: " + String.valueOf(p.getId());
|
wpt.desc = "id: " + String.valueOf(p.getId()) +
|
||||||
wpt.comment = p.getText();
|
" note" + " " + OsmPoint.stringAction.get(p.getAction()) ;
|
||||||
gpx.addPoint(wpt);
|
gpx.addPoint(wpt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue