up family planing geojson

This commit is contained in:
Tykayn 2024-10-21 20:07:56 +02:00 committed by tykayn
parent 168bba0e3e
commit 40d91b8961
7 changed files with 1559 additions and 625 deletions

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
<title>OSM3S Response</title>
</head>
<body>
<p>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: Unknown type &quot;&quot;[out:json][timeout:25];(node[&quot;&quot; </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: An empty query is not allowed </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: ';' expected - 'harassment_prevention' found. </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: Unexpected end of input. </p>
</body>
</html>

View File

@ -24,11 +24,12 @@ const allowed_configs = [
'mappingIssy2Roues', 'mappingConfigIRVE', 'mappingConfigIRVEFromOsmose',
'mappingConfigIRVE_simple', 'mappingTest', 'ConfigIRVE',
'mappingRouenParkingVelos', 'mappingFINESS', 'MappingArbresIssy',
'MappingArbres92', 'MappingMuseums', 'MappingRouenPAV', 'MappingAskAngela'
'MappingArbres92', 'MappingMuseums', 'MappingRouenPAV', 'MappingAskAngela', 'MappingPlanningFamlial',
];
const minimist = require('minimist');
import MappingAskAngela from "./mappings/converters/configAskAngela";
import MappingPlanningFamlial from "./mappings/converters/configPlanningFamilial";
const debugLog = utils.debugLog;
@ -454,6 +455,8 @@ function setMappingConfigFromName(engine_conf_choice: string) {
Mapping_engine.setConfig(MappingRouenPAV)
} else if (engine_conf_choice == 'MappingAskAngela') {
Mapping_engine.setConfig(MappingAskAngela)
}else if (engine_conf_choice == 'MappingPlanningFamlial') {
Mapping_engine.setConfig(MappingPlanningFamlial)
}
} else {
Mapping_engine.setConfig(mappingConfigIRVE)

File diff suppressed because it is too large Load Diff

View File

@ -34,17 +34,18 @@ for article in articles:
antenne = {
"type": "Feature",
"geometry":geometry,
"properties": {
"nom": titre,
"adresse": adresse,
"telephone": telephone
},
"geometry":{
"coordinates": [latitude,longitude],
"type":"Point"
}
}
print(antenne)
antennes.append(antenne)
# Convertir la liste des antennes en un GeoDataFrame

View File

@ -0,0 +1,39 @@
/**
* 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: ''
},
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: {
// ******* opendata de toulouse START **************
nom : {
key_converted: 'name',
convert_to_name: true,
},
telephone : {
key_converted: 'contact:phone',
convert_to_phone: true,
},
// ******* opendata de toulouse END **************
}
}
export default MappingPlanningFamlial;

View File

@ -0,0 +1,980 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.377043,
48.651377
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.440059,
48.80415
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.33943,
48.867518
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.279638,
48.927955
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.359571,
48.938082
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.673422,
48.544903
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.911413,
48.980932
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.081501483917,
49.037129421067
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.915655,
47.904868
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.823729,
49.411309
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.084525,
49.428421
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
3.21959,
49.616318
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.290788,
49.892619
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.095267,
48.432601
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.041593,
49.247088
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.195597,
48.005368
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.401051,
47.082782
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.697171352887,
47.383365216672
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-0.355365,
49.175465
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.676914,
46.803432
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.831058,
50.430061
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.966973,
48.657104
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
3.108815,
46.663307
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
3.066639,
50.631619
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-0.562502,
47.448188
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.360866,
46.592818
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.87407,
46.16748
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-1.684183,
48.104362
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.851173,
46.780447
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.273831,
45.839045
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-1.57249,
47.207531
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-0.472219,
46.313935
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
3.114336,
45.786921
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.055387496948,
45.7020432177
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-1.432085,
46.670599
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-2.45048,
47.66034
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-2.762129,
48.518952
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.158316,
45.648814
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.866093,
45.775731
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.38264,
45.436097
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
7.33328,
47.74832
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.442905,
44.924252
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
7.742863700541,
48.582913698489
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
3.891039,
45.044657
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
6.123208,
45.898621
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.029851,
44.608906
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.90882,
44.92661
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
3.498215,
44.520235
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-0.560142,
44.826948
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
5.724356,
45.186182
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.564692,
44.353656
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-4.32987,
48.078952
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.134451350118,
44.406477271246
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.617076,
44.203196
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.374111,
44.020144
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.079259,
44.129228
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.724004,
43.822824
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
6.078418,
44.557576
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.457642,
43.610553
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4.823106,
43.929076
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-0.494248,
43.896818
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.580964,
43.651784
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
3.88366,
43.617512
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.755808,
43.200409
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
0.075248,
43.231364
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-0.37353,
43.299875
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
1.146088,
42.982876
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
5.383008,
43.306704
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.885384,
42.692572
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
7.26322,
43.708425
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
5.932984,
43.126027
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-61.532923,
16.239444
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-61.070595,
14.614149
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-52.307139,
4.929058
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
55.432760441496,
-21.284301680104
]
},
"properties": {
"healthcare:speciality": "family_planning"
}
}
]
}

View File

@ -0,0 +1,4 @@
#!/bin/bash
# convertir la liste de planing familial
ts-node convert_to_osm_tags.ts --source=etalab_data/planing_familial/antennes_planning_familial.json --output-file=antennes_planning_familial.json --engine-config=MappingPlanningFamlial