From a4af49388d65cf702adb00783a711306177c83e0 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Sat, 5 Aug 2023 10:59:45 +0200 Subject: [PATCH] more types --- .../convert_to_osm_tags.ts | 18 +- .../coverage/clover.xml | 532 ++++++-------- .../coverage/coverage-final.json | 4 +- .../coverage/lcov-report/engine.ts.html | 691 ++++++++++++++++++ .../coverage/lcov-report/index.html | 57 +- .../coverage/lcov.info | 134 ---- .../mappings/engine.ts | 2 +- 7 files changed, 932 insertions(+), 506 deletions(-) create mode 100644 mapping_geojson_to_osm_tags/coverage/lcov-report/engine.ts.html diff --git a/mapping_geojson_to_osm_tags/convert_to_osm_tags.ts b/mapping_geojson_to_osm_tags/convert_to_osm_tags.ts index cac41a23..da670f0b 100644 --- a/mapping_geojson_to_osm_tags/convert_to_osm_tags.ts +++ b/mapping_geojson_to_osm_tags/convert_to_osm_tags.ts @@ -8,6 +8,7 @@ import mappingConfigIRVE_simple from './mappings/converters/mappingConfigIRVE_si import mapping_engine from './mappings/engine' import MappingConfigType, {BoundingBoxCoordinatesType, FeatureCollection} from "./mappings/mapping-config.type"; import utils from './mappings/utils' + const minimist = require('minimist') const debugLog = utils.debugLog; @@ -58,19 +59,19 @@ if (enable_filter_on_department) { } else if (filterOnBoundingBox) { filteredName = '_filtered_bbox_' + boundingBoxCoordinates.xMin + '-' + boundingBoxCoordinates.xMax + '_' + boundingBoxCoordinates.yMin + '-' + boundingBoxCoordinates.yMax } -let pointCounterMax :number = 1000000 +let pointCounterMax: number = 1000000 -let limitConversionToFirstPoint :boolean = false +let limitConversionToFirstPoint: boolean = false // limitConversionToFirstPoint = true if (limitConversionToFirstPoint) { pointCounterMax = 1 } -let defaultPropertiesOfPoint :any= { +let defaultPropertiesOfPoint: any = { 'amenity': 'charging_station' } -let converted_geo_json :any = { +let converted_geo_json: any = { type: 'FeatureCollection', features: [] } @@ -99,7 +100,7 @@ function convertDataForIRVE(sourceFilePath: string, mapping: MappingConfigType, debugLog('data found, features:', data_transformed.features.length) // find interesting list of points to use - let list_of_points : any = data_transformed.features + let list_of_points: any = data_transformed.features // for each point from the data source, convert with the mapping console.log('listOfPoints.length', list_of_points.length) @@ -114,8 +115,7 @@ function convertDataForIRVE(sourceFilePath: string, mapping: MappingConfigType, || filterZipCodeAdresse.test(feature_point.properties.adresse_station) ) - } - else if (filterOnBoundingBox) { + } else if (filterOnBoundingBox) { debugLog('filtre sur les coordonnées activé') let x = feature_point.properties.coordonneesXY[0] @@ -184,7 +184,7 @@ function mapElementFromConfSimple(featurePoint: any, mappingConfig: MappingConfi debugLog('keys', mappingKeys, featurePointPropertiesKeys) - let newProperties :any = defaultPropertiesOfPoint + let newProperties: any = defaultPropertiesOfPoint // reinit properties of current point let basePoint = Object.create(featurePoint) @@ -196,7 +196,7 @@ function mapElementFromConfSimple(featurePoint: any, mappingConfig: MappingConfi featurePointPropertiesKeys.forEach((pointKeyName: string) => { if (mappingKeys.indexOf(pointKeyName) !== -1) { - debugLog('found element', pointKeyName, '=>', mappingConfig[pointKeyName], 'value : ', featurePoint.properties[pointKeyName]) + // debugLog('found element', pointKeyName, '=>', mappingConfig[pointKeyName], 'value : ', featurePoint.properties[pointKeyName]) let convertedValue: any = '' if (utils.isBooleanKey(pointKeyName)) { diff --git a/mapping_geojson_to_osm_tags/coverage/clover.xml b/mapping_geojson_to_osm_tags/coverage/clover.xml index 4754567a..24cad177 100644 --- a/mapping_geojson_to_osm_tags/coverage/clover.xml +++ b/mapping_geojson_to_osm_tags/coverage/clover.xml @@ -1,326 +1,212 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mapping_geojson_to_osm_tags/coverage/coverage-final.json b/mapping_geojson_to_osm_tags/coverage/coverage-final.json index e81aebbf..a6d8bd9c 100644 --- a/mapping_geojson_to_osm_tags/coverage/coverage-final.json +++ b/mapping_geojson_to_osm_tags/coverage/coverage-final.json @@ -1,4 +1,2 @@ -{"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/data_other/testing/mappings_to_test.ts": {"path":"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/data_other/testing/mappings_to_test.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":67}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":0}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":3}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":3}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":52}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":34}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":54}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":34}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":37}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":6}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":11}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":24}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":49}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":33}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":43}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":117}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":18}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":13}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":9}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":5}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":1}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":49}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":34}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":54}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":34}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":37}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":6}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":11}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":24}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":35}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":9}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":5}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1},"branchMap":{},"b":{},"fnMap":{},"f":{}} -,"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/mappings/engine.ts": {"path":"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/mappings/engine.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":0}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":0}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":25}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":20}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":19}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":27}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":25}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":14}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":20}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":18}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":22}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":1}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":22}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":28}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":0}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":32}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":37}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":5}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":0}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":30}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":43}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":5}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":0}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":42}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":0}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":43}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":95}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":61}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":69}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":0}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":50}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":0}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":39}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":0}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":10}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":0}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":36}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":5}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":0}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":7}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":66}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":26}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":25}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":7}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":41}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":0}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":61}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":5}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":0}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":51}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":53}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":0}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":7}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":32}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":25}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":28}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":7}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":77}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":41}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":15}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":27}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":5}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":0}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":66}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":48}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":44}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":18}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":30}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":8}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":0}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":80}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":61}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":72}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":10}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":27}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":5}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":0}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":7}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":82}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":7}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":43}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":35}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":161}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":0}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":9}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":0}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":68}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":64}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":63}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":55}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":77}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":0}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":104}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":134}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":0}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":90}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":0}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":15}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":45}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":51}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":42}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":50}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":0}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":58}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":60}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":0}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":88}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":0}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":10}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":0}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":44}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":0}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":40}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":24}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":5}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":0}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":77}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":49}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":56}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":143}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":35}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":0}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":81}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":62}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":56}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":52}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":78}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":99}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":0}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":64}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":0}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":32}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":43}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":54}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":83}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":68}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":89}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":0}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":24}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":62}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":17}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":61}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":37}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":85}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":17}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":47}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":31}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":60}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":0}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":49}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":55}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":17}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":0}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":19}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":54}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":106}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":19}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":54}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":93}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":96}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":46}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":90}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":0}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":61}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":77}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":81}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":25}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":62}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":128}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":140}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":60}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":94}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":80}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":29}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":25}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":61}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":93}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":79}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":29}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":25}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":68}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":62}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":60}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":109}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":25}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":50}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":70}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":79}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":25}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":21}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":17}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":0}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":63}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":58}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":17}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":13}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":9}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":5}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":0}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":0,"49":0,"50":0,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":0,"62":0,"63":0,"64":0,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":0,"75":0,"76":0,"77":0,"78":0,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":0,"86":0,"87":0,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":1,"119":1,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":1,"202":1},"branchMap":{"0":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":15},"end":{"line":203,"column":1}},"locations":[{"start":{"line":16,"column":15},"end":{"line":203,"column":1}}]},"1":{"type":"branch","line":19,"loc":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"locations":[{"start":{"line":19,"column":4},"end":{"line":21,"column":5}}]},"2":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"locations":[{"start":{"line":23,"column":4},"end":{"line":25,"column":5}}]},"3":{"type":"branch","line":84,"loc":{"start":{"line":84,"column":4},"end":{"line":118,"column":5}},"locations":[{"start":{"line":84,"column":4},"end":{"line":118,"column":5}}]},"4":{"type":"branch","line":85,"loc":{"start":{"line":85,"column":34},"end":{"line":88,"column":9}},"locations":[{"start":{"line":85,"column":34},"end":{"line":88,"column":9}}]},"5":{"type":"branch","line":101,"loc":{"start":{"line":101,"column":8},"end":{"line":118,"column":5}},"locations":[{"start":{"line":101,"column":8},"end":{"line":118,"column":5}}]}},"b":{"0":[1],"1":[1],"2":[1],"3":[1],"4":[0],"5":[0]},"fnMap":{"0":{"name":"","decl":{"start":{"line":16,"column":15},"end":{"line":203,"column":1}},"loc":{"start":{"line":16,"column":15},"end":{"line":203,"column":1}},"line":16},"1":{"name":"_default","decl":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"loc":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"line":19},"2":{"name":"setConfig","decl":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"loc":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"line":23},"3":{"name":"mapFeaturePoint","decl":{"start":{"line":27,"column":4},"end":{"line":41,"column":5}},"loc":{"start":{"line":27,"column":4},"end":{"line":41,"column":5}},"line":27},"4":{"name":"isBooleanKey","decl":{"start":{"line":48,"column":4},"end":{"line":51,"column":5}},"loc":{"start":{"line":48,"column":4},"end":{"line":51,"column":5}},"line":48},"5":{"name":"filterFeaturesByOffset","decl":{"start":{"line":61,"column":4},"end":{"line":65,"column":5}},"loc":{"start":{"line":61,"column":4},"end":{"line":65,"column":5}},"line":61},"6":{"name":"filterFeaturesByPropertyRegex","decl":{"start":{"line":74,"column":4},"end":{"line":79,"column":5}},"loc":{"start":{"line":74,"column":4},"end":{"line":79,"column":5}},"line":74},"7":{"name":"mapElementFromConf","decl":{"start":{"line":84,"column":4},"end":{"line":118,"column":5}},"loc":{"start":{"line":84,"column":4},"end":{"line":118,"column":5}},"line":84},"8":{"name":"convertProperty","decl":{"start":{"line":120,"column":4},"end":{"line":201,"column":5}},"loc":{"start":{"line":120,"column":4},"end":{"line":201,"column":5}},"line":120}},"f":{"0":1,"1":1,"2":1,"3":0,"4":0,"5":0,"6":0,"7":1,"8":0}} -,"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/mappings/utils.js": {"path":"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/mappings/utils.js","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":79}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":90}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":33}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":65}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":28}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":9}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":5}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":61}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":2}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":62}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":25}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":19}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":15}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":29}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":3}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":68}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":14}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":3}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":21}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":18}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":51}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":33}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":5}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":22}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":15}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":5}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":72}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":1}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":25}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":20}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":19}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":27}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":25}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":14}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":20}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":18}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":22}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":2}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":3}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":2}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":22}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":21}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":3}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":37}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":58}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":1}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":3}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":53}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":18}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":21}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":3}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":43}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":38}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":121}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":18}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":57}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":9}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":14}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":76}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":9}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":7}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":1}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":19}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":23}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":31}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":24}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":2}}},"s":{"0":1,"1":1,"2":3,"3":0,"4":0,"5":0,"6":0,"7":0,"8":3,"9":3,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":3,"20":3,"21":3,"22":8,"23":8,"24":3,"25":0,"26":0,"27":3,"28":3,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":0,"45":0,"46":0,"47":1,"48":1,"49":1,"50":1,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":1,"64":1,"65":1,"66":1,"67":1},"branchMap":{"0":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":21},"end":{"line":2,"column":47}},"locations":[{"start":{"line":2,"column":21},"end":{"line":2,"column":47}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":52},"end":{"line":10,"column":2}},"locations":[{"start":{"line":2,"column":52},"end":{"line":10,"column":2}}]},"2":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":40},"end":{"line":8,"column":5}},"locations":[{"start":{"line":3,"column":40},"end":{"line":8,"column":5}}]},"3":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":0},"end":{"line":29,"column":1}},"locations":[{"start":{"line":20,"column":0},"end":{"line":29,"column":1}}]},"4":{"type":"branch","line":22,"loc":{"start":{"line":22,"column":50},"end":{"line":24,"column":5}},"locations":[{"start":{"line":22,"column":50},"end":{"line":24,"column":5}}]},"5":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":21},"end":{"line":27,"column":5}},"locations":[{"start":{"line":25,"column":21},"end":{"line":27,"column":5}}]}},"b":{"0":[0],"1":[3],"2":[0],"3":[3],"4":[8],"5":[0]},"fnMap":{"0":{"name":"Object..__spreadArray","decl":{"start":{"line":2,"column":52},"end":{"line":10,"column":2}},"loc":{"start":{"line":2,"column":52},"end":{"line":10,"column":2}},"line":2},"1":{"name":"debugLog","decl":{"start":{"line":20,"column":0},"end":{"line":29,"column":1}},"loc":{"start":{"line":20,"column":0},"end":{"line":29,"column":1}},"line":20},"2":{"name":"isBooleanKey","decl":{"start":{"line":45,"column":0},"end":{"line":47,"column":1}},"loc":{"start":{"line":45,"column":0},"end":{"line":47,"column":1}},"line":45},"3":{"name":"writeFile","decl":{"start":{"line":53,"column":0},"end":{"line":63,"column":1}},"loc":{"start":{"line":53,"column":0},"end":{"line":63,"column":1}},"line":53}},"f":{"0":3,"1":3,"2":0,"3":0}} +{"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/mappings/engine.ts": {"path":"/home/poule/encrypted/stockage-syncable/www/development/html/scripts/mapping_geojson_to_osm_tags/mappings/engine.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":0}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":0}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":25}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":20}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":19}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":27}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":25}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":14}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":20}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":18}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":22}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":1}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":22}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":28}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":0}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":32}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":37}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":5}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":0}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":30}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":43}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":5}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":0}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":42}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":0}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":43}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":95}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":61}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":69}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":0}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":50}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":0}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":39}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":0}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":10}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":0}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":36}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":5}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":0}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":7}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":66}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":26}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":25}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":7}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":41}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":0}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":61}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":5}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":0}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":51}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":53}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":0}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":7}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":32}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":25}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":28}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":7}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":77}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":41}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":15}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":27}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":5}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":0}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":66}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":48}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":44}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":18}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":30}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":8}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":0}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":80}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":61}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":72}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":10}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":27}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":5}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":0}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":7}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":82}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":7}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":43}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":35}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":161}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":0}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":9}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":0}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":68}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":64}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":63}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":55}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":77}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":0}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":104}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":134}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":0}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":90}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":0}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":15}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":45}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":51}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":42}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":50}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":0}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":58}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":60}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":0}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":88}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":0}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":10}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":0}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":44}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":0}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":40}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":24}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":5}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":0}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":77}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":49}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":56}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":146}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":35}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":0}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":81}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":62}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":56}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":52}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":78}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":99}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":0}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":64}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":0}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":32}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":43}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":54}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":83}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":68}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":89}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":0}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":24}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":62}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":17}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":61}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":37}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":85}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":17}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":47}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":31}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":60}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":0}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":49}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":55}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":17}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":0}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":19}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":54}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":106}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":19}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":54}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":93}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":96}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":46}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":90}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":0}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":61}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":77}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":81}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":25}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":62}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":128}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":140}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":60}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":94}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":80}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":29}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":25}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":61}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":93}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":79}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":29}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":25}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":68}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":62}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":60}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":109}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":25}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":50}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":70}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":79}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":25}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":21}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":17}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":0}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":63}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":58}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":17}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":13}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":9}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":5}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":0}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":0,"49":0,"50":0,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":0,"62":0,"63":0,"64":0,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":0,"75":0,"76":0,"77":0,"78":0,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":0,"86":0,"87":0,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":1,"119":1,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":1,"202":1},"branchMap":{"0":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":15},"end":{"line":203,"column":1}},"locations":[{"start":{"line":16,"column":15},"end":{"line":203,"column":1}}]},"1":{"type":"branch","line":19,"loc":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"locations":[{"start":{"line":19,"column":4},"end":{"line":21,"column":5}}]},"2":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"locations":[{"start":{"line":23,"column":4},"end":{"line":25,"column":5}}]},"3":{"type":"branch","line":84,"loc":{"start":{"line":84,"column":4},"end":{"line":118,"column":5}},"locations":[{"start":{"line":84,"column":4},"end":{"line":118,"column":5}}]},"4":{"type":"branch","line":85,"loc":{"start":{"line":85,"column":34},"end":{"line":88,"column":9}},"locations":[{"start":{"line":85,"column":34},"end":{"line":88,"column":9}}]},"5":{"type":"branch","line":101,"loc":{"start":{"line":101,"column":8},"end":{"line":118,"column":5}},"locations":[{"start":{"line":101,"column":8},"end":{"line":118,"column":5}}]}},"b":{"0":[1],"1":[1],"2":[1],"3":[1],"4":[0],"5":[0]},"fnMap":{"0":{"name":"","decl":{"start":{"line":16,"column":15},"end":{"line":203,"column":1}},"loc":{"start":{"line":16,"column":15},"end":{"line":203,"column":1}},"line":16},"1":{"name":"_default","decl":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"loc":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"line":19},"2":{"name":"setConfig","decl":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"loc":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"line":23},"3":{"name":"mapFeaturePoint","decl":{"start":{"line":27,"column":4},"end":{"line":41,"column":5}},"loc":{"start":{"line":27,"column":4},"end":{"line":41,"column":5}},"line":27},"4":{"name":"isBooleanKey","decl":{"start":{"line":48,"column":4},"end":{"line":51,"column":5}},"loc":{"start":{"line":48,"column":4},"end":{"line":51,"column":5}},"line":48},"5":{"name":"filterFeaturesByOffset","decl":{"start":{"line":61,"column":4},"end":{"line":65,"column":5}},"loc":{"start":{"line":61,"column":4},"end":{"line":65,"column":5}},"line":61},"6":{"name":"filterFeaturesByPropertyRegex","decl":{"start":{"line":74,"column":4},"end":{"line":79,"column":5}},"loc":{"start":{"line":74,"column":4},"end":{"line":79,"column":5}},"line":74},"7":{"name":"mapElementFromConf","decl":{"start":{"line":84,"column":4},"end":{"line":118,"column":5}},"loc":{"start":{"line":84,"column":4},"end":{"line":118,"column":5}},"line":84},"8":{"name":"convertProperty","decl":{"start":{"line":120,"column":4},"end":{"line":201,"column":5}},"loc":{"start":{"line":120,"column":4},"end":{"line":201,"column":5}},"line":120}},"f":{"0":1,"1":1,"2":1,"3":0,"4":0,"5":0,"6":0,"7":1,"8":0}} } diff --git a/mapping_geojson_to_osm_tags/coverage/lcov-report/engine.ts.html b/mapping_geojson_to_osm_tags/coverage/lcov-report/engine.ts.html new file mode 100644 index 00000000..9fde42c5 --- /dev/null +++ b/mapping_geojson_to_osm_tags/coverage/lcov-report/engine.ts.html @@ -0,0 +1,691 @@ + + + + + + Code coverage report for engine.ts + + + + + + + + + +
+
+

All files engine.ts

+
+ +
+ 37.43% + Statements + 76/203 +
+ + +
+ 66.66% + Branches + 4/6 +
+ + +
+ 44.44% + Functions + 4/9 +
+ + +
+ 37.43% + Lines + 76/203 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +2031x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +1x +1x +1x +1x +1x +1x +1x +  +  +  +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +  +  +  +  +1x +1x +1x +1x +1x +1x +1x +1x +1x +  +  +  +  +  +1x +1x +1x +1x +1x +1x +  +  +  +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +1x +1x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +1x +1x
import custom_utils from './utils'
+ 
+const {debugLog} = custom_utils
+ 
+let listOfBooleanKeys = [
+    "prise_type_ef",
+    "prise_type_2",
+    "prise_type_combo_ccs",
+    "prise_type_chademo",
+    "gratuit",
+    "paiement_acte",
+    "paiement_cb",
+    "cable_t2_attache"
+]
+ 
+export default class {
+    mapping_config: any = {}
+ 
+    constructor(mappingConfig) {
+        this.setConfig(mappingConfig)
+    }
+ 
+    setConfig(mappingConfig) {
+        this.mapping_config = mappingConfig
+    }
+ 
+    mapFeaturePoint(featurePointGeoJson) {
+
+        let geoJSONConvertedPoint: any = {}
+        geoJSONConvertedPoint.properties = {...this.mapping_config.default_properties_of_point}
+        geoJSONConvertedPoint.type = featurePointGeoJson.type
+        geoJSONConvertedPoint.geometry = featurePointGeoJson.geometry
+
+        let props = featurePointGeoJson.properties
+
+        props.forEach((key, value) => {
+
+        })
+
+        return geoJSONConvertedPoint
+    }
+ 
+    /**
+     * TODO convert to mapping config property to transform_truthy
+     * @param pointKeyName
+     * @returns {boolean}
+     */
+    isBooleanKey(pointKeyName): boolean {
+
+        return listOfBooleanKeys.indexOf(pointKeyName) !== -1
+    }
+ 
+    truthyValues = ['true', 'True', 'TRUE', '1', 1]
+    falsyValues = ['false', 'False', 'FALSE', '0', 0]
+ 
+    /**
+     * reduce number of features
+     * @param offsetCount
+     * @param listOfFeatures
+     */
+    filterFeaturesByOffset(offsetCount: number, listOfFeatures): Array<any> {
+        let filteredList = listOfFeatures
+        // TODO
+        return filteredList
+    }
+ 
+    // filterFeaturesByPropertyRegex(bboxConfig, listOfFeatures) {
+    //     console.log('bboxConfig', bboxConfig)
+    //     let filteredList = listOfFeatures
+    //     // TODO
+    //     return filteredList
+    // }
+ 
+    filterFeaturesByPropertyRegex(propertyName, criteriaRegex, listOfFeatures) {
+        let filteredList = listOfFeatures.filter(feature => {
+            return criteriaRegex.test(feature?.properties[propertyName])
+        })
+        return filteredList
+    }
+ 
+    /**
+     * retuns the converted element from mapping config if present, null otherwise
+     */
+    mapElementFromConf(featurePoint: any) {
+        if (!this.mapping_config) {
+            throw new Error('no config was loaded in the mapping engine. use setConfig(my_mapping_config) on this instance of mapping engine before using this.')
+
+        }
+ 
+        console.log('mapping_config tags', this.mapping_config.tags)
+        debugLog('config_name', this.mapping_config.config_name)
+        let mappingKeys = Object.keys(this.mapping_config.tags)
+        // let mappingKeys = (this.mapping_config.tags)
+        let featurePointPropertiesKeys = Object.keys(featurePoint.properties)
+ 
+        debugLog('============= keys mappingKeys:', this.mapping_config.tags.length, mappingKeys.length)
+        debugLog('============= keys featurePointPropertiesKeys :', featurePoint.properties.length, featurePointPropertiesKeys.length)
+ 
+        let newProperties = Object.create(this.mapping_config.default_properties_of_point)
+ 
+        return;
+        // reinit properties of current point
+        let basePoint = Object.create(featurePoint)
+        basePoint.type = featurePoint.type
+        basePoint.geometry = featurePoint.geometry
+
+        // apply new properties if found in mapping config
+        featurePointPropertiesKeys.forEach(pointKeyName => {
+
+            this.convertProperty(pointKeyName, mappingKeys, featurePoint, newProperties)
+
+        })
+
+        basePoint.properties = newProperties
+
+        debugLog('basePoint', basePoint)
+        return basePoint
+    }
+ 
+    convertProperty(pointKeyName, mappingKeys, featurePoint, newProperties) {
+        console.log('pointKeyName', pointKeyName)
+        if (!mappingKeys.indexOf(pointKeyName) !== -1) {
+            // debugLog('found element', pointKeyName, '=>', this.mapping_config[pointKeyName], 'value : ', featurePoint.properties[pointKeyName])
+            let convertedValue = ''
+
+            let valueConvertedFromMapping = featurePoint.properties[pointKeyName]
+            let typeofValue = typeof valueConvertedFromMapping
+            let isStringValue = typeofValue === 'string'
+            debugLog('- pointKeyName', pointKeyName)
+            debugLog('- valueConvertedFromMapping', valueConvertedFromMapping)
+            // debugLog('typeof featurePoint.properties[pointKeyName] === \'string\'', typeofValue)
+
+            let isConfigMappingObject = typeofValue === 'string'
+
+            if (isStringValue) {
+                debugLog('-- string value')
+                if (this.isBooleanKey(pointKeyName)) {
+                    let lowerValue = (valueConvertedFromMapping + '').toLowerCase()
+                    debugLog('isBooleanKey: lowerValue', lowerValue)
+                    convertedValue = this.truthyValues.indexOf(lowerValue) ? 'yes' : 'no'
+
+                } else {
+                    convertedValue = valueConvertedFromMapping
+                }
+                debugLog('-- convertedValue', convertedValue)
+                if (convertedValue) {
+                    newProperties[this.mapping_config[pointKeyName]] = convertedValue
+                }
+            } else if (isConfigMappingObject) {
+                let newKey = ''
+                let configObject = valueConvertedFromMapping
+
+                if (configObject.key_converted) {
+                    newKey = configObject.key_converted
+                }
+
+                /**
+                 * gestion des valeurs conditionnelles
+                 * nous pouvons renseigner une string ou un objet décrivant les transformations à réaliser
+                 */
+                if (configObject.conditional_values) {
+                    let keysConditionnalValues = Object.keys(configObject.conditional_values)
+                    let isFoundValue = keysConditionnalValues.indexOf(valueConvertedFromMapping)
+                    if (isFoundValue !== -1) {
+                        let conditionnalConfig :any = keysConditionnalValues[isFoundValue]
+
+                        if (conditionnalConfig.tags_to_add) {
+                            // on peut définir un ensemble de tags à rajouter
+                            newProperties.push(...conditionnalConfig.tags_to_add)
+                        }
+                        if (conditionnalConfig.truthy_value) {
+                            // convertir la valeur, si elle est truthy, la transformer en ce que donne la propriété truthy_value
+                            // exemple: le jeu de données dit que la colonne cable_t2_attache vaut "True", mais on veut le convertir en "1".
+                            // on met donc truthy_value: '1'
+                            if (this.truthyValues.indexOf(valueConvertedFromMapping) !== -1) {
+                                convertedValue = conditionnalConfig.truthy_value
+                            }
+                        }
+                        if (conditionnalConfig.falsy_value) {
+                            if (this.falsyValues.indexOf(valueConvertedFromMapping) !== -1) {
+                                convertedValue = conditionnalConfig.falsy_value
+                            }
+                        }
+                        if (conditionnalConfig.transform_function) {
+                            // une transformation de la valeur
+                            // apply transformation to value
+                            convertedValue = conditionnalConfig.transform_function(valueConvertedFromMapping)
+                        }
+                        // use the value converted
+                        else if (conditionnalConfig.value_converted) {
+                            convertedValue = conditionnalConfig.value_converted
+                        }
+                    }
+                }
+
+                if (newKey && !configObject.ignore_this_data) {
+                    newProperties[newKey] = convertedValue
+                }
+            }
+        }
+    }
+ 
+}
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/mapping_geojson_to_osm_tags/coverage/lcov-report/index.html b/mapping_geojson_to_osm_tags/coverage/lcov-report/index.html index be55c6ed..8f782c14 100644 --- a/mapping_geojson_to_osm_tags/coverage/lcov-report/index.html +++ b/mapping_geojson_to_osm_tags/coverage/lcov-report/index.html @@ -23,30 +23,30 @@
- 51.47% + 37.43% Statements - 157/305 + 76/203
- 58.33% + 66.66% Branches - 7/12 + 4/6
- 46.15% + 44.44% Functions - 6/13 + 4/9
- 51.47% + 37.43% Lines - 157/305 + 76/203
@@ -61,7 +61,7 @@
-
+
@@ -79,33 +79,18 @@ - - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + @@ -116,7 +101,7 @@
data_other/testing -
+
engine.ts +
100%34/34100%0/0100%0/0100%34/34
mappings -
-
45.38%123/27158.33%7/1246.15%6/1345.38%123/27137.43%76/20366.66%4/644.44%4/937.43%76/203