Add version to osm
This commit is contained in:
parent
a793db5736
commit
714296c2fd
1 changed files with 1 additions and 0 deletions
|
@ -275,6 +275,7 @@ public class LocalOpenstreetmapActivity extends OsmandListActivity {
|
||||||
sz.attribute("", "lat", p.getLatitude() + "");
|
sz.attribute("", "lat", p.getLatitude() + "");
|
||||||
sz.attribute("", "lon", p.getLongitude() + "");
|
sz.attribute("", "lon", p.getLongitude() + "");
|
||||||
sz.attribute("", "id", p.getId() + "");
|
sz.attribute("", "id", p.getId() + "");
|
||||||
|
sz.attribute("", "version", "1");
|
||||||
for (String tag : p.getEntity().getTagKeySet()) {
|
for (String tag : p.getEntity().getTagKeySet()) {
|
||||||
String val = p.getEntity().getTag(tag);
|
String val = p.getEntity().getTag(tag);
|
||||||
sz.startTag("", "tag");
|
sz.startTag("", "tag");
|
||||||
|
|
Loading…
Reference in a new issue