Mobileye has struck a deal with the city of Barcelona to equip local vehicles with driver-assist tech. These vehicles are building a library of data to help improve safety. The data will also help lay the foundation for self-driving cars, which need detailed digital maps to navigate.