Attempts to get city name from locations