add cadastre vert 92 arbres config
This commit is contained in:
parent
380c117e88
commit
5f04635b50
@ -15,12 +15,14 @@ import utils from './mappings/utils'
|
|||||||
import mappingRouenParkingVelos from "./mappings/converters/configRouen_OpenData_velo_parkings";
|
import mappingRouenParkingVelos from "./mappings/converters/configRouen_OpenData_velo_parkings";
|
||||||
import mappingFINESS from "./mappings/converters/configFINESS";
|
import mappingFINESS from "./mappings/converters/configFINESS";
|
||||||
import MappingArbresIssy from "./mappings/converters/configArbresIssy";
|
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 limitWarningPercentageChangeInPoints = 5; // show a warning when more than N percent of the number of points changed
|
||||||
const allowed_configs = [
|
const allowed_configs = [
|
||||||
'mappingIssy2Roues', 'mappingConfigIRVE', 'mappingConfigIRVEFromOsmose',
|
'mappingIssy2Roues', 'mappingConfigIRVE', 'mappingConfigIRVEFromOsmose',
|
||||||
'mappingConfigIRVE_simple', 'mappingTest', 'ConfigIRVE',
|
'mappingConfigIRVE_simple', 'mappingTest', 'ConfigIRVE',
|
||||||
'mappingRouenParkingVelos', 'mappingFINESS', 'MappingArbresIssy',
|
'mappingRouenParkingVelos', 'mappingFINESS', 'MappingArbresIssy',
|
||||||
|
'MappingArbres92',
|
||||||
];
|
];
|
||||||
|
|
||||||
const minimist = require('minimist')
|
const minimist = require('minimist')
|
||||||
@ -387,6 +389,8 @@ function setMappingConfigFromName(engine_conf_choice: string) {
|
|||||||
Mapping_engine.setConfig(MappingArbresIssy)
|
Mapping_engine.setConfig(MappingArbresIssy)
|
||||||
} else if (engine_conf_choice == 'mappingFINESS') {
|
} else if (engine_conf_choice == 'mappingFINESS') {
|
||||||
Mapping_engine.setConfig(mappingFINESS)
|
Mapping_engine.setConfig(mappingFINESS)
|
||||||
|
} else if (engine_conf_choice == 'MappingArbres92') {
|
||||||
|
Mapping_engine.setConfig(MappingArbres92)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Mapping_engine.setConfig(mappingConfigIRVE)
|
Mapping_engine.setConfig(mappingConfigIRVE)
|
||||||
|
Loading…
Reference in New Issue
Block a user