forked from MapComplete/MapComplete
Fix changeset uploads
This commit is contained in:
parent
e2b0b10ca2
commit
fca5e219db
1 changed files with 6 additions and 23 deletions
|
@ -385,19 +385,9 @@ export class OsmNode extends OsmObject {
|
||||||
let tags = this.TagsXML()
|
let tags = this.TagsXML()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
' <node id="' +
|
` <node id="${this.id}" ${header ?? ""}${changesetId ? (' changeset="' + changesetId)+ "\"" : ""}${this.VersionXML()} lat="${this.lat}" lon="${this.lon}">
|
||||||
this.id +
|
${tags} </node>
|
||||||
'" ' +
|
`
|
||||||
(header ?? "") +
|
|
||||||
(changesetId ? (' changeset="' + changesetId) : "" ) +
|
|
||||||
this.VersionXML() +
|
|
||||||
' lat="' +
|
|
||||||
this.lat +
|
|
||||||
'" lon="' +
|
|
||||||
this.lon +
|
|
||||||
'">\n' +
|
|
||||||
tags +
|
|
||||||
" </node>\n"
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -445,16 +435,9 @@ export class OsmWay extends OsmObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
' <way id="' +
|
` <way id="${this.id}" ${header ?? ""}${changesetId ? (` changeset="${changesetId}"`) : ""}${this.VersionXML()}>
|
||||||
this.id +
|
${nds}${tags} </way>
|
||||||
'" ' +
|
`
|
||||||
(header ?? "")+
|
|
||||||
(changesetId ? (' changeset="' + changesetId) : "" ) +
|
|
||||||
this.VersionXML() +
|
|
||||||
">\n" +
|
|
||||||
nds +
|
|
||||||
tags +
|
|
||||||
" </way>\n"
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue