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

52 lines
1.8 KiB
TypeScript

import MappingConfigType from "../mapping-config.type";
const MappingArbres92: 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
"idelement_vert": "ref:FR:cadastre_vert:id_element_vert",
//"ordre": "ref:FR:issy_les_mx:ordre_arbre",
// - AN_PLANT : date de plantation
//"an_plan": "date_start",
// ******* textes
// ******* textes
// - HAUTEUR est_height=* hauteur estimée en intervalle de mètres
//"class_hauteur": "est_height",
// - VERNACULAIRE : species:FR=*
//"vernaculaire": "species:FR",
// https://wiki.openstreetmap.org/wiki/Key:circumference
"diametre": {// tour du tronc à hauteur de poitrine
key_converted: "circumference",
conditionnal_values: {
"0 m": {
ignore_this_data: true,
}
}
},
"circonference": {// tour de toutes les branches, la couronne
key_converted: "diameter_crown",
conditionnal_values: {
"0 m": {
ignore_this_data: true,
}
}
},
},
add_not_mapped_tags_too: false,
source: {
geojson_path: 'https://opendata.hauts-de-seine.fr/api/explore/v2.1/catalog/datasets/cadastre-vert-les-arbres/exports/geojson?lang=fr&timezone=Europe%2FBerlin',
url: 'https://opendata.hauts-de-seine.fr/explore/dataset/cadastre-vert-les-arbres'
},
filters: {},
}
export default MappingArbres92