mirror of
https://forge.chapril.org/tykayn/wololo
synced 2025-06-20 01:34:42 +02:00
add open plaques
This commit is contained in:
parent
e33aecb565
commit
a79be23ccd
8 changed files with 114916 additions and 29 deletions
68
mappings/converters/configOpenPlaquesUK.ts
Normal file
68
mappings/converters/configOpenPlaquesUK.ts
Normal file
|
@ -0,0 +1,68 @@
|
|||
/**
|
||||
* open plaques commémoratives UK
|
||||
*
|
||||
*
|
||||
*
|
||||
* npx ts-node convert_to_osm_tags.ts --engine-config=MappingOpenPlaquesUK --source=etalab_data/open_plaques_uk.geojson
|
||||
*/
|
||||
import MappingConfigType from "../mapping-config.type";
|
||||
|
||||
const MappingOpenPlaquesUK: MappingConfigType = {
|
||||
config_name: "MappingOpenPlaquesUK",
|
||||
config_author: "tk",
|
||||
default_properties_of_point: {
|
||||
// Ajoutez ici les propriétés par défaut pour vos points
|
||||
},
|
||||
source: {
|
||||
geojson_path: '',
|
||||
url: ''
|
||||
},
|
||||
filters: {
|
||||
// exclude_point_if_tag_not_empty: ['id_osm'], // exclure les points ayant déjà un id_osm pour éviter les doublons
|
||||
// offset: 1
|
||||
},
|
||||
add_not_mapped_tags_too: false,
|
||||
boolean_keys: [],
|
||||
tags_to_ignore_if_value_is: ['Non renseigne'],
|
||||
tags: {
|
||||
"id": "openplaque:id",
|
||||
// "machine_tag": "",
|
||||
// "title": "",
|
||||
// "inscription": "",
|
||||
// "latitude": "",
|
||||
// "longitude": "",
|
||||
// "as_wkt": "",
|
||||
// "country": "",
|
||||
// "area": "",
|
||||
"address": "addr:full",
|
||||
"erected": "date_start",
|
||||
// "main_photo": "",
|
||||
// "colour": "",
|
||||
// "organisations": "",
|
||||
// "language": "",
|
||||
// "series": "",
|
||||
// "series_ref": "ref",
|
||||
// "geolocated?": "",
|
||||
// "photographed?": "",
|
||||
// "number_of_subjects": "",
|
||||
// "number_of_male_subjects": "",
|
||||
// "number_of_female_subjects": "",
|
||||
// "number_of_inanimate_subjects": "",
|
||||
// "lead_subject_id": "ref",
|
||||
// "lead_subject_machine_tag": "",
|
||||
// "lead_subject_name": "name",
|
||||
// "lead_subject_surname": "name",
|
||||
// "lead_subject_sex": "",
|
||||
// "lead_subject_born_in": "",
|
||||
// "lead_subject_died_in": "",
|
||||
// "lead_subject_type": "",
|
||||
// "lead_subject_roles": "",
|
||||
// "lead_subject_primary_role": "",
|
||||
// "lead_subject_wikipedia": "",
|
||||
// "lead_subject_dbpedia": "",
|
||||
// "lead_subject_image": "",
|
||||
// "subjects": ""
|
||||
}
|
||||
}
|
||||
|
||||
export default MappingOpenPlaquesUK;
|
Loading…
Add table
Add a link
Reference in a new issue