add normandie and bretagne

This commit is contained in:
Tykayn 2023-08-05 22:09:01 +02:00 committed by tykayn
parent d342c1e689
commit 5fe084ca62
18 changed files with 80956 additions and 4052 deletions

View File

@ -0,0 +1,122 @@
# domaines de données IRVE
## puissance_nominale
225
150
50
300
22
24
18
350
25
21
7
48
38
63
320
160
125
43
2
11
3
200
175
6
20
23
45
17
44
56
325
90
75
120
4
36
180
54
7.4
42
12
15
60
100
30
210
126
40
9
70
80
360
124
64
115
62
22.00
22.0
0.0
50.00
12
47
24.00
7.00
7.0
5.9
71708
131524
49521
0
19
300000
22080
50000
63000
90000
60000
3.4
5
122
72
18.00
43.00
3.22
3.00
11.00
230
400
110
22
2.3
27
26
3.7
62500
22.08
7.36
11.04
1.7
14
22000
7000
3000
4.6
32
2859660
60973
5.5
12
175.00
22
22
100.00
6.9
240
149
16

View File

@ -0,0 +1 @@
,tykayn,spaceship,05.08.2023 21:10,file:///home/tykayn/.config/libreoffice/4;

View File

@ -11,9 +11,26 @@ const MappingIRVE: MappingConfigType = {
default_properties_of_point: {
'amenity': 'charging_station'
},
source: {
geojson_path: "etalab_data/all.json",
url: 'https://www.data.gouv.fr/fr/datasets/r/7eee8f09-5d1b-4f48-a304-5e99e8da1e26'
},
/**
* select only certain points from the source
*/
filters: {
enable_coordinates_filter: false,
enable_properties_filter: true,
// add only geojson points who are found having this regex in the zipcode properties
properties: {
consolidated_code_postal: '^[76|27]'
},
bounding_box: [
{}
]
},
add_not_mapped_tags_too: false,
tags: {
// ******* nombres
nbre_pdc: 'capacity',
// ******* textes
@ -42,7 +59,7 @@ const MappingIRVE: MappingConfigType = {
date_mise_en_service: 'start_date',
// date_maj: 'source:date',
// TODO gestion des types dont on doit convertir la valeur
// ******** champs booléens
cable_t2_attache:
{
@ -94,26 +111,26 @@ const MappingIRVE: MappingConfigType = {
// "Non accessible": {
// value_converted: "no"
// },
// "Mo-Fr 08:30-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:30": {
// value_converted: "Mo-Fr 08:30-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:30"
// },
// "24/7": {
// value_converted: ""
// }
// "Mo-Fr 08:30-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:30": {
// value_converted: "Mo-Fr 08:30-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:30"
// },
// "24/7": {
// value_converted: ""
// }
// choix:
// choix:
// Sa:09:00-19:00
// 24/7
// Mo-Fr 08:00-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:00
// Mo-Fr 08:00-19:00,Sat 09:00-18:00
// Sa:08:00-19:00
// 24/7
// Mo-Fr 08:30-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:30
// Mo-Fr 09:00-16:00
// Mo-Fr 08:00-12:00,Mo-Fr 14:00-18:00,Th 08:00-18:00
// Sa:09:00-19:00
// 24/7
// Mo-Fr 08:00-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:00
// Mo-Fr 08:00-19:00,Sat 09:00-18:00
// Sa:08:00-19:00
// 24/7
// Mo-Fr 08:30-12:00,Mo-Fr 14:00-19:00,Sat 09:00-18:30
// Mo-Fr 09:00-16:00
// Mo-Fr 08:00-12:00,Mo-Fr 14:00-18:00,Th 08:00-18:00
// }
// }
// },
station_deux_roues: {
remove_original_key: true,
@ -128,6 +145,10 @@ const MappingIRVE: MappingConfigType = {
}
}
}
// TODO gestion des puissances de bornes
// avec une fonction de transformation des valeurs
// parmi le domaine du jeu de données
},
}

View File

@ -29,6 +29,8 @@ export default interface MappingConfigType{
config_author: string,
add_not_mapped_tags_too: boolean,
default_properties_of_point: object,
source: object,
filters: object,
tags: FeaturePropertyMappingConfigType
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -11,8 +11,14 @@
},
"scripts": {
"start": "ts-node convert_to_osm_tags.ts --engine",
"start:91": "ts-node convert_to_osm_tags.ts --engine=true --department=91 --source=\"./etalab_data/all.json\"",
"start:22": "ts-node convert_to_osm_tags.ts --engine=true --department=22 --source=\"./etalab_data/all.json\"",
"start:27": "ts-node convert_to_osm_tags.ts --engine=true --department=27 --source=\"./etalab_data/all.json\"",
"start:29": "ts-node convert_to_osm_tags.ts --engine=true --department=29 --source=\"./etalab_data/all.json\"",
"start:50": "ts-node convert_to_osm_tags.ts --engine=true --department=50 --source=\"./etalab_data/all.json\"",
"start:56": "ts-node convert_to_osm_tags.ts --engine=true --department=56 --source=\"./etalab_data/all.json\"",
"start:61": "ts-node convert_to_osm_tags.ts --engine=true --department=61 --source=\"./etalab_data/all.json\"",
"start:76": "ts-node convert_to_osm_tags.ts --engine=true --department=76 --source=\"./etalab_data/all.json\"",
"start:91": "ts-node convert_to_osm_tags.ts --engine=true --department=91 --source=\"./etalab_data/all.json\"",
"start:974": "ts-node convert_to_osm_tags.ts --engine=true --department=974 --source=\"./etalab_data/all.json\"",
"simple": "ts-node convert_to_osm_tags.ts",
"filter": "node convert_to_osm_tags.ts --department=76 --engine=true",