forked from MapComplete/MapComplete
Fix various small issues to the teams, add some more validation
This commit is contained in:
parent
a4b51b63ca
commit
f63f62922e
14 changed files with 65 additions and 12 deletions
|
@ -296,8 +296,8 @@ const iconThief = new AggregateIconThief(
|
|||
|
||||
const thief = new IdThief("../id-tagging-schema/", iconThief)
|
||||
|
||||
const shopLayerPath = targetDir + "id_presets.json"
|
||||
const idPresets = <LayerConfigJson>JSON.parse(readFileSync(shopLayerPath, 'utf8'))
|
||||
const id_presets_path = targetDir + "id_presets.json"
|
||||
const idPresets = <LayerConfigJson>JSON.parse(readFileSync(id_presets_path, 'utf8'))
|
||||
idPresets.tagRenderings = [
|
||||
{
|
||||
id: "shop_types",
|
||||
|
@ -309,4 +309,4 @@ idPresets.tagRenderings = [
|
|||
}
|
||||
]
|
||||
|
||||
writeFileSync(shopLayerPath, JSON.stringify(idPresets, null, " "), 'utf8')
|
||||
writeFileSync(id_presets_path, JSON.stringify(idPresets, null, " "), 'utf8')
|
|
@ -54,11 +54,14 @@ function main(){
|
|||
|
||||
const wikidataLayer = <LayerConfigJson>{
|
||||
id: "wikidata",
|
||||
description: "Various tagrenderings which are generated from Wikidata. Automatically generated with a script, don't edit manually",
|
||||
description: {
|
||||
en: "Various tagrenderings which are generated from Wikidata. Automatically generated with a script, don't edit manually"
|
||||
},
|
||||
"#dont-translate": "*",
|
||||
"source": {
|
||||
"osmTags": "id~*"
|
||||
},
|
||||
title: null,
|
||||
"mapRendering": null,
|
||||
tagRenderings: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue