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

51 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',
overpass_query:`
[out:json][timeout:200];
{{geocodeArea:"France"}}->.searchArea;
nwr["healthcare:speciality"="family_planning"](area.searchArea);
out geom;
`
},
filters: {
// offset: 1
},
add_not_mapped_tags_too: false,
boolean_keys: [],
tags_to_ignore_if_value_is: ['Non renseigne'],
tags: {
adresse: "addr:full",
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;