wololo/mappings/converters/configRnb.ts
2025-03-13 11:51:47 +01:00

33 lines
1.2 KiB
TypeScript

/**
* points d'apport volontaire de Rouen
*/
import MappingConfigType from "../mapping-config.type";
// référentiel national des bâtiments
const MappingRnb: MappingConfigType = {
config_name: "MappingRnb de référentiel national des bâtiments",
config_author: "tykayn <contact@cipherbliss.com>",
default_properties_of_point: {},
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
rnb_id: 'ref:FR:RNB',
// ******* textes
status: 'ref:FR:RNB:status',
}
}
export default MappingRnb;