/** * Plaques commémoratives de Paris * * npx ts-node convert_to_osm_tags.ts --engine-config=MappingPlaquesCommémorativesParis --source=./etalab_data/plaques_commémoratives/plaques_commemoratives.geojson */ import MappingConfigType from "../mapping-config.type"; const MappingPlaquesCommémorativesParis: MappingConfigType = { config_name: "MappingPlaquesCommémorativesParis", config_author: "tykayn", default_properties_of_point: { // Ajoutez ici les propriétés par défaut pour vos points "memorial": "plaque", "historic": "memorial", }, source: { geojson_path: '', url: '' }, filters: { // exclude_point_if_tag_not_empty: ['id_osm'], // exclure les points ayant déjà un id_osm pour éviter les doublons // offset: 10 }, 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", "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" }, "pierre beige": { value_converted: "stone" }, "marbre": { value_converted: "marbre" }, "marbre fonc\u00e9": { value_converted: "marbre" }, "marbre gris": { value_converted: "marbre", tags_to_add: [{ "color": "grey" }] }, "marbre clair": { value_converted: "marbre", tags_to_add: [{ "color": "white" }] }, "marbre rose": { value_converted: "marbre", tags_to_add: [{ "color": "pink" }] }, "cuivre": { value_converted: "copper" }, "métal": { value_converted: "metal" }, "fonte": { value_converted: "metal" }, "plexiglas transparent": { value_converted: "glass" }, "plexiglas opaque": { value_converted: "glass" }, "bois": { value_converted: "wood" }, "verre": { value_converted: "glass" }, "céramique": { value_converted: "ceramic" }, "résine": { value_converted: "resin" }, "acier": { value_converted: "steel" }, "Marbre": { value_converted: "marbre" }, } }, "titre": "name", // "personnalite": "subject", // ----------------------------------------- } } export default MappingPlaquesCommémorativesParis;