import MappingConfigType from "../mapping-config.type"; const MappingArbresIssy: MappingConfigType = { config_name: 'Mapping des arbres d\'Issy les Moulineaux', config_author: 'tykayn ', default_properties_of_point: {natural: 'tree'}, tags: { // ******* booléens // ******* nombres // - ID_ARBRE : ref:FR:issy_les_mx:id_arbre identifiant interne à Issy les Moulineaux "id_arbre": "ref:FR:issy_les_mx:id_arbre", "ordre": "ref:FR:issy_les_mx:ordre_arbre", // - AN_PLANT : date de plantation "an_plan": "date_start", // ******* textes // - HAUTEUR est_height=* hauteur estimée en intervalle de mètres "class_hauteur": "est_height", // - VERNACULAIRE : species:FR=* "vernaculaire": "species:FR", // - GENESPVAR : nom d'espèce species=* "genespvar": "species", // - CADUC_PERS : leaf_cycle=evergreen pour persistant , deciduous pour caduque "caduc_pers": { // key_converted: "leaf_cycle", conditional_values: { "Persistant ": { 'tags_to_add':{ "leaf_cycle": "evergreen", } }, "Caduc ": { 'tags_to_add':{ "leaf_cycle": "deciduous", } }, } }, // - FEUIL_CONI : feuillu leaf_type=broadleaved / connifère leaf_type=needleleaved "feuil_coni": { // key_converted: "leaf_type", conditional_values: { "Feuillu ": { 'tags_to_add':{ "leaf_type": "broadleaved", } }, "Conifère ": { 'tags_to_add':{ "leaf_type": "needleleaved", } }, } }, // - PARTICULAR : Majeur, Remarquable : historic=monument "particular": { // key_converted: "historic", conditional_values: { "Majeur ": { 'tags_to_add':{ "historic": "monument", }, }, "Remarquable ": { 'tags_to_add':{ "historic": "monument", }, }, } }, // - FORME: tree_shape = curtain / free / half_free <= Architecturé, rideau / Libre / Semi-libre "forme": { key_converted: "tree_shape", conditional_values: { "Architecturé, rideau ": { value_converted: "curtain" }, "Semi-libre ": { value_converted: "half_free" }, "Libre ": { value_converted: "free" }, } }, }, add_not_mapped_tags_too: false, source: { geojson_path: 'https://data.issy.com/api/explore/v2.1/catalog/datasets/arbres-remarquables-issy-les-moulineaux/exports/geojson?lang=fr&timezone=Europe%2FBerlin', url: 'https://www.data.gouv.fr/fr/datasets/arbres-remarquables' }, filters: {}, } export default MappingArbresIssy