Le 24.03.23 à 19:56, Mateusz Konieczny via talk a écrit :
Is any of values below has blatantly clear meaning in your language matching
some established or missing surface value? And would be also eligible for such fixing?

looking at https://taginfo.openstreetmap.fr/keys/surface#values
yes there are indeed 118 french words that should be converted
see below for the list

due to the number, I wonder if it wouldn't be easier to first do this:
convert everything to lower case and underscores to space
convert "and" to ";"
see if the resulting value is the one listed as the first bold word on the page https://wiki.openstreetmap.org/wiki/Template:FR:Map_Features:surface
and build a converting table for remain values

(and the same for any language)

the list of value in french found via taginfo fr
 terre
 herbe
 cailloux
 gazon_ras
 goudron
 sable
 bitume
 terre_battue
 pierre
 bois
 macadam
 sable_et_terre
 gazon_tres_ras
 normal
 sol
 pavés
 pelouse
 Terre
 resine
 gravier
 gazon
 charbon
 béton_poreux
 béton_bitumineux
 béton
 terre_et_sable
 synthétique
 plastic_grid
 parquet
 multiple
 herb
 ciment
 calcaire
 cailloux_et_galets
 terre_goudron
 terre_et_herbe
 "terre,_cailloux"
 synthetique
 plastique
 pierres
 herbe_synthétique
 Herbe_et_cailloux
 graviers
 gravier0
 gazon_synthétique
 Chemin_de_terre_compactée
 carrelage
 brique
 boue
 bitumen
 béton_désactivé
 banquettes
 banc_de_sable
 terr_et_pierre
 terre_touvenant
 terre/sable
 terre_roche
 terre_pierres
 "terre_naturelle,_argileuse"
 terre_humide
 terre;herbe
 terre_goudrons
 terre_et_rochers
 terre_et_pierres
 terre_et_pierre
 terre_et_gravier
 terre_cailloux
 terre_boue
 "terre,_boue"
 terre_batue
 terre2
 terrain_synthétique
 terrain_en_herbe
 terrace
 tere
 Sable
 rocheux/felsig
 rocher

"revêtement_compact,_mélange_majoritaire_en_gravier_ou_pierre,_avec_des_matériaux_mous_tels_que_sable_ou_argile"
 polyuréthane
 plastique_glissant
 planches
 pierres_sèches
 pierre_et_terre
 pelouse_naturelle
 pelouse_et_terre
 Parking non goudronné
 neige
 Mousse
 métal
 liège
 herbe_naturel
 herbe_et_sable
 "gravillons,_béton"
 gravillons
 gravillon
 graviers_et_terre
 gourdon
 goudronné
 enrobes
 enrobé
 empierrée
 diverses
 compact1ée
 chemin_galet
 chemin_en_terre
 chemin_de_terre_et_herbe
 chemin_de_terre_et_graviers
 chemin_de_terre
 "champs,_herbe"
 caoutchouc
 cailloux_et_terre
 caillou_+_riviere_qui_coule_dedans
 bois_et_goudron/plastique
 blocs_de_roche
 béton_bois
 béton_bitumimeux
 artificiel



_______________________________________________
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk

Reply via email to