mirror of
https://forge.chapril.org/tykayn/wololo
synced 2025-10-09 17:02:46 +02:00
réinit
This commit is contained in:
commit
996524bc6d
107 changed files with 1295536 additions and 0 deletions
67
mappings/converters/configAskAngela.ts
Normal file
67
mappings/converters/configAskAngela.ts
Normal file
|
@ -0,0 +1,67 @@
|
|||
/**
|
||||
* commerces adhérant à Ask Angela
|
||||
* https://wiki.openstreetmap.org/wiki/FR:Tag:harassment_prevention%3Dask_angela
|
||||
*/
|
||||
import MappingConfigType from "../mapping-config.type";
|
||||
|
||||
const MappingAskAngela: MappingConfigType = {
|
||||
config_name: "mappingRouenParkingVelos",
|
||||
config_author: "tykayn <contact@cipherbliss.com>",
|
||||
default_properties_of_point: {
|
||||
'harassment_prevention': 'ask_angela',
|
||||
},
|
||||
source: {
|
||||
geojson_path: '',
|
||||
url: ''
|
||||
},
|
||||
filters: {
|
||||
// exclude_point_if_tag_not_empty: ['id_osm'], // on peut exclure des données converties celles qui sont déjà avec un identifiant openstreetmap afin de favoriser l'intégration san avoir à gérer les doublons
|
||||
// offset: 1
|
||||
},
|
||||
add_not_mapped_tags_too: false,
|
||||
boolean_keys: [],
|
||||
tags_to_ignore_if_value_is: ['Non renseigne'],
|
||||
tags: {
|
||||
// ******* opendata de toulouse START **************
|
||||
structure: {
|
||||
remove_original_key: true,
|
||||
conditional_values: {
|
||||
"Hôtel": {
|
||||
tags_to_add: {
|
||||
'tourism': 'hotel'
|
||||
}
|
||||
},
|
||||
"Restaurant": {
|
||||
tags_to_add: {
|
||||
'amenity': 'restaurant'
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
'id': 'ref:FR:Toulouse:ask_angela_id',
|
||||
noms: {
|
||||
key_converted: 'name',
|
||||
convert_to_name: true,
|
||||
},
|
||||
nom : {
|
||||
key_converted: 'name',
|
||||
convert_to_name: true,
|
||||
},
|
||||
// ******* opendata de toulouse END **************
|
||||
// ******* opendata de poitiers START **************
|
||||
'_id': 'ref:FR:Poitiers:ask_angela_id',
|
||||
// ******* opendata de poitiers END **************
|
||||
|
||||
|
||||
// ******* opendata de bordeaux START **************
|
||||
'gid': 'ref:FR:Bordeaux:ask_angela_id',
|
||||
'libelle': 'name',
|
||||
'url': 'contact:website',
|
||||
'cdate': 'start_date:ask_angela',
|
||||
'mdate': 'check_date:ask_angela',
|
||||
// ******* opendata de bordeaux END **************
|
||||
// "addresse": "",
|
||||
}
|
||||
}
|
||||
|
||||
export default MappingAskAngela;
|
Loading…
Add table
Add a link
Reference in a new issue