/** * arbres monumentaux de Rouen */ import MappingConfigType from "../mapping-config.type"; const MappingArbresRemarquablesRouen: MappingConfigType = { config_name: "MappingArbresRemarquablesRouen", config_author: "tykayn contact@cipherbliss.com", default_properties_of_point: { natural: 'tree', source: 'Métropole de Rouen', historic: 'monument' }, source: { geojson_path: 'https://data.metropole-rouen-normandie.fr/api/explore/v2.1/catalog/datasets/arbres-remarquables-metropole-rouen-normandie-2019/exports/geojson?lang=fr&timezone=Europe%2FBerlin', url: '' }, filters: { // exclude_point_if_tag_not_empty: ['id_osm'], // exclure les points ayant déjà un id_osm pour éviter les doublons // offset: 1 }, add_not_mapped_tags_too: false, boolean_keys: [], tags_to_ignore_if_value_is: ['Non renseigne'], tags: { // Mapping des champs du fichier source vers les tags OSM // 'champ_source': 'tag_osm_cible', // 'champ_source_id': 'ref:FR:votre_id', // Exemple de transformation plus complexe // nom: { // key_converted: 'name', // convert_to_name: true, // }, // "geo_point_2d": "", "gml_id": { key_converted: 'ref:FR:rouen:gml_id', convert_to_name: true, }, // "objectid": "", "nom": "name", // "foret": "", // "variete": "", // "diametre_pied": "", // "hauteur": "", // "age": "", // "parcelle": "", // "photo": "", // "pdf": "", // "gps": "", // "x": "", // "y": "", "description": "description", "essence_forestiere": { conditional_values: { "Feuillu ": { 'tags_to_add': { "leaf_type": "broadleaved", } }, "Résineux": { 'tags_to_add': { "leaf_type": "needleleaved", } }, } }, } } export default MappingArbresRemarquablesRouen;