venti = 20 and miglia = miles so yeah, seems like it means “20 miles”.
Seems like there is a town called “Ventimiglia” in Italy, so I suppose it was 20 miles from something notable.
Traveling around Italy by train I'm always amazed at how many places are named Sottopassaggio. Every train station seems to have one nearby.