up plaques mapping

This commit is contained in:
Tykayn 2025-04-17 17:57:29 +02:00 committed by tykayn
parent c9ecd31302
commit e33aecb565
3 changed files with 74 additions and 25 deletions

View file

@ -25,17 +25,36 @@ const MappingPlaquesCommémorativesParis: MappingConfigType = {
add_not_mapped_tags_too: false,
boolean_keys: [],
tags_to_ignore_if_value_is: ['Non renseigne', 'null'],
// allow_unspecified_conditional_values: false,
tags: {
"index_plaque": "ref:FR:Paris:plaques",
// "retranscription": "inscription",
"retranscription": "inscription",
"materiau": {
key_converted: "material",
// remove_original_key: true,
conditional_values: {
"comblanchien": {
value_converted: "stone",
tags_to_add: [{ "color": "white" }]
},
"bronze": {
value_converted: "metal",
// tags_to_add: [{ "color": "orange" }]
},
"Méthacrylate": {
value_converted: "plastic"
},
"granit": {
value_converted: "stone"
},
"pierre": {
value_converted: "stone"
},
"Pierre": {
value_converted: "stone"
},
"pierre blanche": {
value_converted: "stone"
},
@ -48,8 +67,18 @@ const MappingPlaquesCommémorativesParis: MappingConfigType = {
"marbre fonc\u00e9": {
value_converted: "marbre"
},
"marbre gris": {
value_converted: "marbre",
tags_to_add: [{ "color": "grey" }]
},
"marbre clair": {
value_converted: "marbre"
value_converted: "marbre",
tags_to_add: [{ "color": "white" }]
},
"marbre rose": {
value_converted: "marbre",
tags_to_add: [{ "color": "pink" }]
},
"cuivre": {
value_converted: "copper"
@ -57,6 +86,9 @@ const MappingPlaquesCommémorativesParis: MappingConfigType = {
"métal": {
value_converted: "metal"
},
"fonte": {
value_converted: "metal"
},
"plexiglas transparent": {
value_converted: "glass"
},
@ -72,10 +104,20 @@ const MappingPlaquesCommémorativesParis: MappingConfigType = {
"céramique": {
value_converted: "ceramic"
},
"résine": {
value_converted: "resin"
},
"acier": {
value_converted: "steel"
},
"Marbre": {
value_converted: "marbre"
},
}
},
// "titre": "name",
"titre": "name",
// "personnalite": "subject",
// -----------------------------------------