2025-01-15 22:20:14 +01:00
|
|
|
/**
|
|
|
|
* commerces adhérant à Ask Angela
|
|
|
|
* https://wiki.openstreetmap.org/wiki/Tag:healthcare:speciality%3Dfamily_planning
|
2025-04-11 15:53:23 +02:00
|
|
|
* détails en Français https://wiki.openstreetmap.org/wiki/FR:Tag:healthcare:speciality%3Dfamily_planning
|
|
|
|
*
|
|
|
|
* Site officiel:
|
|
|
|
* https://www.planning-familial.org/fr
|
2025-01-15 22:20:14 +01:00
|
|
|
*/
|
|
|
|
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',
|
2025-04-11 15:53:23 +02:00
|
|
|
overpass_query: `
|
2025-01-15 22:20:14 +01:00
|
|
|
[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",
|
2025-04-11 15:53:23 +02:00
|
|
|
nom: {
|
2025-01-15 22:20:14 +01:00
|
|
|
key_converted: 'name',
|
|
|
|
convert_to_name: true,
|
|
|
|
},
|
2025-04-11 15:53:23 +02:00
|
|
|
telephone: {
|
2025-01-15 22:20:14 +01:00
|
|
|
key_converted: 'contact:phone',
|
|
|
|
convert_to_phone: true,
|
|
|
|
},
|
2025-04-11 15:53:23 +02:00
|
|
|
"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",
|
2025-01-15 22:20:14 +01:00
|
|
|
// ******* opendata de toulouse END **************
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MappingPlanningFamlial;
|