/** * 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 */ import MappingConfigType from "../mapping-config.type"; const MappingToilettes: MappingConfigType = { config_name: "toilettes config for paris sanisettes", config_author: "tykayn ", default_properties_of_point: { 'amenity': 'toilets' }, source: { geojson_path: "etalab_data/toilettes_paris_datagouv.json", url: 'https://opendata.paris.fr/api/explore/v2.1/catalog/datasets/sanisettesparis/exports/geojson?lang=fr&timezone=Europe%2FBerlin' }, /** * select only certain points from the source */ filters: { enable_coordinates_filter: false, enable_properties_filter: false, // add only geojson points who are found having this regex in the zipcode properties properties: { // consolidated_code_postal: '^[75]' } }, add_not_mapped_tags_too: false, tags: { nom_operateur: 'operator', telephone_operateur: 'phone', contact_operateur: 'email', // ici, on souhaite convertir la clé }, } export default MappingToilettes;