tests update

This commit is contained in:
Tykayn 2025-04-28 00:34:41 +02:00 committed by tykayn
parent 088aa1f5f4
commit 353fa37c85
4 changed files with 49 additions and 24 deletions

View file

@ -144,5 +144,21 @@ export const mappingIgnoreTruthy: MappingConfigType = {
geojson_path: "",
url: ""
},
tags_to_ignore_if_value_is: ['non spécifié'],
filters: {},
}
export const mappingIgnoreOsmId: MappingConfigType = {
config_name: 'testing config mappingIgnoreOsmId',
config_author: 'tykayn <contact@cipherbliss.com>',
default_properties_of_point: {},
tags: {},
add_not_mapped_tags_too: false,
source: {
geojson_path: "",
url: ""
},
filters: {
exclude_point_if_tag_not_empty: ['osm_id'],
},
}

View file

@ -17,8 +17,10 @@
"equal": "same value",
"consolidated_commune": "S\u00e9r\u00e9zin-du-Rh\u00f4ne",
"consolidated_is_lon_lat_correct": true,
"consolidated_city": false
"consolidated_city": false,
"osm_id": 1234567890,
"non_spécifié": "non spécifié"
}
}
]
}
}