forked from MapComplete/MapComplete
Formatting (pre-merge)
This commit is contained in:
parent
135219b5dc
commit
17b35e731e
2 changed files with 374 additions and 382 deletions
|
@ -96,10 +96,10 @@ export default class SimpleMetaTagger {
|
|||
const [, denomination] = unit.findDenomination(value)
|
||||
let canonical = denomination?.canonicalValue(value) ?? undefined;
|
||||
console.log("Rewritten ", key, " from", value, "into", canonical)
|
||||
if(canonical === undefined && !unit.eraseInvalid) {
|
||||
if (canonical === undefined && !unit.eraseInvalid) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
feature.properties[key] = canonical;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue