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

45 lines
1.6 KiB
TypeScript

/**
* commerces adhérant à Ask Angela
* https://wiki.openstreetmap.org/wiki/Tag:healthcare:speciality%3Dfamily_planning
*/
import MappingConfigType from "../mapping-config.type";
const MappingPlanningFamlial: MappingConfigType = {
config_name: "planning familial",
config_author: "tykayn <contact@cipherbliss.com>",
default_properties_of_point: {
'healthcare:speciality': 'family_planning',
},
source: {
// source faite à partir de data scraping du site français
geojson_path: '',
url: 'https://www.planning-familial.org/fr'
},
filters: {
// exclude_point_if_tag_not_empty: ['id_osm'], // on peut exclure des données converties celles qui sont déjà avec un identifiant openstreetmap afin de favoriser l'intégration san avoir à gérer les doublons
// offset: 1
},
add_not_mapped_tags_too: false,
boolean_keys: [],
tags_to_ignore_if_value_is: ['Non renseigne'],
tags: {
nom : {
key_converted: 'name',
convert_to_name: true,
},
telephone : {
key_converted: 'contact:phone',
convert_to_phone: true,
},
"contact:website":"contact:website",
"family_planning:handles:violences" : "family_planning:handles:violences",
"family_planning:handles:sexualities" : "family_planning:handles:sexualities",
"family_planning:handles:detection" : "family_planning:handles:detection",
"family_planning:handles:abortion" : "family_planning:handles:abortion",
"family_planning:handles:contraception" : "family_planning:handles:contraception",
// ******* opendata de toulouse END **************
}
}
export default MappingPlanningFamlial;