From 5f04635b50598a4080e4f5829a84d898111fe547 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Tue, 15 Oct 2024 13:08:45 +0200 Subject: [PATCH] add cadastre vert 92 arbres config --- convert_to_osm_tags.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/convert_to_osm_tags.ts b/convert_to_osm_tags.ts index 268afbd..86a50f9 100644 --- a/convert_to_osm_tags.ts +++ b/convert_to_osm_tags.ts @@ -15,12 +15,14 @@ import utils from './mappings/utils' import mappingRouenParkingVelos from "./mappings/converters/configRouen_OpenData_velo_parkings"; import mappingFINESS from "./mappings/converters/configFINESS"; import MappingArbresIssy from "./mappings/converters/configArbresIssy"; +import MappingArbres92 from "./mappings/converters/configArbresHautsDeSeine"; const limitWarningPercentageChangeInPoints = 5; // show a warning when more than N percent of the number of points changed const allowed_configs = [ 'mappingIssy2Roues', 'mappingConfigIRVE', 'mappingConfigIRVEFromOsmose', 'mappingConfigIRVE_simple', 'mappingTest', 'ConfigIRVE', 'mappingRouenParkingVelos', 'mappingFINESS', 'MappingArbresIssy', + 'MappingArbres92', ]; const minimist = require('minimist') @@ -387,6 +389,8 @@ function setMappingConfigFromName(engine_conf_choice: string) { Mapping_engine.setConfig(MappingArbresIssy) } else if (engine_conf_choice == 'mappingFINESS') { Mapping_engine.setConfig(mappingFINESS) + } else if (engine_conf_choice == 'MappingArbres92') { + Mapping_engine.setConfig(MappingArbres92) } } else { Mapping_engine.setConfig(mappingConfigIRVE)