Cordoba (Spain) is about 135 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Malaga.
How far is Deadwood from the ocean
How far is Alexandria, VA from the ocean
How far is Charlotte from the ocean
How far is Raleigh from the ocean
How far is Steamboat Springs from the ocean
How far is Twin Falls from the ocean
How far is Fort Collins from the ocean
How far is Hana from the ocean
How far is Bozeman from the ocean
How far is Cusco from the ocean