I don't know where you have taken taxis in Spain, but all taxis I've taken in Barcelona are incredibly clean and the drivers are incredibly efficient (given that I'm Spanish and know the best routes for these trips, too, of course)
Not to mention they wanted to charge me over 100 euros for going from the Airport to the main train station.
From my experience the taxi industry of Spain is highly inefficient and overpriced.