A border is a leg, not a line.
Outrouted models the trip as legs between stops. A leg is a flight when there is sea in between, when it runs past about 620 miles, or when it crosses a border that is more than a short drive away. A short crossing, like Porto to Vigo, stays a drive. Turn flights off and every leg on the same land is driven or ridden.











