Fix changeset uploads

This commit is contained in:
Pieter Vander Vennet 2023-06-13 12:43:34 +02:00
parent 6111e3083e
commit e2b0b10ca2

View file

@ -389,7 +389,7 @@ export class OsmNode extends OsmObject {
this.id + this.id +
'" ' + '" ' +
(header ?? "") + (header ?? "") +
(changesetId ? ('" changeset="' + changesetId) : "" ) + (changesetId ? (' changeset="' + changesetId) : "" ) +
this.VersionXML() + this.VersionXML() +
' lat="' + ' lat="' +
this.lat + this.lat +
@ -447,9 +447,9 @@ export class OsmWay extends OsmObject {
return ( return (
' <way id="' + ' <way id="' +
this.id + this.id +
(header ?? "")+
(changesetId ? ('" changeset="' + changesetId) : "" ) +
'" ' + '" ' +
(header ?? "")+
(changesetId ? (' changeset="' + changesetId) : "" ) +
this.VersionXML() + this.VersionXML() +
">\n" + ">\n" +
nds + nds +