add mapping simple fields
This commit is contained in:
parent
80de24a335
commit
653ab2e69f
@ -24,16 +24,43 @@ let pointCounterMax = 10;
|
||||
let sourceFileIRVEGeoJson = './etalab_data/latest.json'
|
||||
/**
|
||||
* plan de conversion des clés du jeu de données vers les tags OSM
|
||||
* détail dans le tableau
|
||||
* https://wiki.openstreetmap.org/wiki/France/data.gouv.fr/Bornes_de_Recharge_pour_V%C3%A9hicules_%C3%89lectriques
|
||||
*/
|
||||
let mappingConfigIRVE = {
|
||||
contact_operateur: "email", // ici, on souhaite convertir la clé contact_operateur=bidule en email=bidule
|
||||
amenity: "amenity", // conserver le tag de base
|
||||
capacity: "capacity", // conserver le tag de base
|
||||
nom_amenageur: "operator",
|
||||
siren_amenageur: "owner:ref:FR:SIREN",
|
||||
nom_operateur: "operator",
|
||||
telephone_operateur: "phone",
|
||||
nbre_pdc: "chargin_point:count",
|
||||
contact_operateur: "email", // ici, on souhaite convertir la clé contact_operateur=bidule en email=bidule
|
||||
nbre_pdc: "capacity",
|
||||
id_station_itinerance: "ref:EU:EVSE",
|
||||
id_station_local: "ref",
|
||||
prise_type_ef: "socket:typee",
|
||||
prise_type_2: "socket:type2",
|
||||
prise_type_combo_ccs: "socket:type2_combo",
|
||||
prise_type_chademo: "socket:chademo",
|
||||
gratuit: "fee",
|
||||
paiement_acte: "authentication:none",
|
||||
paiement_cb: "payment:credit_cards",
|
||||
reservation: "reservation",
|
||||
accessibilite_pmr: "wheelchair",
|
||||
date_mise_en_service: "start_date",
|
||||
observations: "note",
|
||||
date_maj: "source:date",
|
||||
nom_station: "name",
|
||||
nom_enseigne: "network",
|
||||
cable_t2_attache: "socket:type2_cable",
|
||||
|
||||
// TODO gestion des types dont on doit convertir la valeur
|
||||
// station_deux_roues =>
|
||||
// ajout de trois tags:
|
||||
// bicycle=yes
|
||||
// scooter=yes
|
||||
// motorcar=no
|
||||
|
||||
// consolidated_code_postal: "zipcode",
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user