Add version to osm

This commit is contained in:
Victor Shcherb 2014-07-30 23:40:53 +02:00
parent a793db5736
commit 714296c2fd

View file

@ -275,6 +275,7 @@ public class LocalOpenstreetmapActivity extends OsmandListActivity {
sz.attribute("", "lat", p.getLatitude() + "");
sz.attribute("", "lon", p.getLongitude() + "");
sz.attribute("", "id", p.getId() + "");
sz.attribute("", "version", "1");
for (String tag : p.getEntity().getTagKeySet()) {
String val = p.getEntity().getTag(tag);
sz.startTag("", "tag");