Remove 'id' from XML-tags

This commit is contained in:
Pieter Vander Vennet 2021-05-10 16:03:11 +02:00
parent 11c9bd34af
commit 09db929dea

View file

@ -152,6 +152,9 @@ export abstract class OsmObject {
if(key.startsWith("_")){
continue;
}
if(key === "id"){
continue;
}
const v = this.tags[key];
if (v !== "") {
tags += ' <tag k="' + Utils.EncodeXmlValue(key) + '" v="' + Utils.EncodeXmlValue(this.tags[key]) + '"/>\n'