104 lines
3.4 KiB
TypeScript
104 lines
3.4 KiB
TypeScript
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
|
|
"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": {
|
|
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": {
|
|
conditional_values: {
|
|
"Feuillu ": {
|
|
'tags_to_add':{
|
|
"leaf_type": "broadleaved",
|
|
}
|
|
},
|
|
"Conifère ": {
|
|
'tags_to_add':{
|
|
"leaf_type": "needleleaved",
|
|
}
|
|
},
|
|
}
|
|
},
|
|
// - PARTICULAR : Majeur, Remarquable : historic=monument
|
|
|
|
"particular": {
|
|
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 ": {
|
|
'tags_to_add':{
|
|
"tree_shape": "curtain",
|
|
},
|
|
},
|
|
"Semi-libre ": {
|
|
'tags_to_add':{
|
|
"tree_shape": "half_free",
|
|
},
|
|
},
|
|
"Libre ": {
|
|
'tags_to_add':{
|
|
"tree_shape": "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: {
|
|
offset:10
|
|
},
|
|
}
|
|
export default MappingArbresIssy
|