Great, I wish I had that when I did this visualisation: http://ssz.fr/territoire/
Instead, I had to do hack upon hack to match SNCF's station names (like say "Valence (France - toutes gares)") to OSM nodes, or failing that to city names, and in the end fix the remaining ones manually.