mapping-geojson-osm/mappings/converters/configArbresIssy.ts

89 lines
2.9 KiB
TypeScript
Raw Normal View History

import MappingConfigType from "../mapping-config.type";
const MappingArbresIssy: MappingConfigType = {
config_name: 'Mapping des arbres d\'Issy les Moulineaux',
config_author: 'tykayn <contact+geojson2osm@cipherbliss.com>',
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
"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": {
value_converted: "evergreen"
},
"Caduque": {
value_converted: "deciduous"
},
}
} ,
// - FEUIL_CONI : feuillu leaf_type=broadleaved / connifère leaf_type=needleleaved
"feuil_coni": {
key_converted: "leaf_type",
conditional_values: {
"Feuillu": {
value_converted: "broadleaved"
},
"Connifère": {
value_converted: "needleleaved"
},
}
},
// - PARTICULAR : Majeur, Remarquable : historic=monument
"particular": {
key_converted: "historic",
conditional_values: {
"Majeur": {
value_converted: "monument"
},
"Remarquable": {
value_converted: "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