forked from MapComplete/MapComplete
Chore:
This commit is contained in:
parent
007dc4eb9e
commit
2be1bd8e8c
1 changed files with 13 additions and 6 deletions
|
@ -108,12 +108,19 @@ class Compare extends Script {
|
|||
distanceBins[bin] += 1
|
||||
}
|
||||
|
||||
fs.writeFileSync("report_diff.json", JSON.stringify({
|
||||
diffs,
|
||||
distanceBins,
|
||||
binSize,
|
||||
"#binsize": "Every bin increases with this amount in meter"
|
||||
}, null, " "))
|
||||
fs.writeFileSync(
|
||||
"report_diff.json",
|
||||
JSON.stringify(
|
||||
{
|
||||
diffs,
|
||||
distanceBins,
|
||||
binSize,
|
||||
"#binsize": "Every bin increases with this amount in meter",
|
||||
},
|
||||
null,
|
||||
" "
|
||||
)
|
||||
)
|
||||
console.log("Written report_diff.json")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue