Now then folks, surely you are jesting..
Who on earth would consider they have visited somewhere, if they have merely driven by or changed trains etc..
Visit means Visit...eg: Hospital Visit.. you don't simply wave as you pass by the building.. you go on purpose..once inside, find whoever.. and hopefully spend some time chatting etc..
Visiting a place by chance or design, surely means stopping there long enough to find out what the place is like... perhaps seeking out the spots of particular interest. For me a Visit nearly always includes a gastronomical delight (my favourite), interesting buildings and surroundings..etc etc.
I've yet to visit Nice and Strasbourg, but I'm not losing any sleep about it..