Add metadata in changeset with (binned) distance to changed feature

This commit is contained in:
Pieter Vander Vennet 2021-11-09 01:49:07 +01:00
parent e8ce53d5eb
commit 8e66313ef1
21 changed files with 178 additions and 41 deletions

View file

@ -46,7 +46,7 @@ export default class CreateWayWithPointReuseAction extends OsmChangeAction {
state: FeaturePipelineState,
config: MergePointConfig[]
) {
super();
super(null,true);
this._tags = tags;
this._state = state;
this._config = config;
@ -194,9 +194,8 @@ export default class CreateWayWithPointReuseAction extends OsmChangeAction {
const newWay = new CreateNewWayAction(this._tags, nodeIdsToUse, {
theme
})
allChanges.push(...(await newWay.Perform(changes)))
allChanges.push(...(await newWay.CreateChangeDescriptions(changes)))
return allChanges
}