/** * points d'apport volontaire de Rouen */ import MappingConfigType from "../mapping-config.type"; const MappingRouenPAV: MappingConfigType = { config_name: "mappingRouenParkingVelos", config_author: "tykayn ", default_properties_of_point: { 'amenity': 'recycling', 'recycling_type': 'container', }, source: { geojson_path: 'https://data.metropole-rouen-normandie.fr/api/explore/v2.1/catalog/datasets/donmetdec_pav/exports/geojson?lang=fr&timezone=Europe%2FBerlin', url: 'https://data.metropole-rouen-normandie.fr/explore/dataset/donmetdec_pav/information/' }, 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: 50 }, add_not_mapped_tags_too: false, boolean_keys: [ // "acces_reglement", ], tags_to_ignore_if_value_is: ['Non renseigne'], tags: { // ******* nombres pavtyp: { remove_original_key:true, conditional_values: { "Emballages en verre": { tags_to_add: { 'recycling:glass': 'yes' } }, "Emballages recyclables": { tags_to_add: { 'recycling:pmd': 'yes' // https://wiki.openstreetmap.org/wiki/Key:recycling:pmd } }, "Ordures ménagères": { tags_to_add: { 'amenity': 'waste_disposal' } } } }, date_maj: 'check_date', // ******* textes gml_id: 'ref:FR:Rouen:pav:gml_id', objectid_1: 'ref:FR:Rouen:pav:object', pavid: 'ref:FR:Rouen:pav:id', pavnom: 'ref:FR:Rouen:pav:name', commune: 'ref:FR:Rouen:commune', } } export default MappingRouenPAV;