With this challenge we can apply analysis, visualization and statistical skills by retrieving specific data through Google Maps APIs
- First we need to retreive the information needed to make the analysis, so we decided to use np.random.uniform function in order to create the coordenates for the analysis
#Create a set of random lats y lngs combinations
lats=np.random.uniform(low=-90.000, high=90.000, size=2000)
lngs=np.random.uniform(low=-180.000, high=180.000, size=2000)
lat_lngs=zip(lats,lngs)
lat_lngs
- Then we need to filter the data with the preferred characteristics of the desired destinations
- After we had our filter data we have to add marker layer to the desired map with gmaps
- Finally, we selected four random cities to plan a vacation and randomly selected four Brazil's cities. Below is the itinerary which starts and end in Ontario.
Start at: Ontario, US -Visit Cabo San Lucas, Mx -VIsit Xaltianguis, Mx -Visit Puerto Escondido, Mx -Finish with Nata, Pa With the use of waypoints we were able to map the driving route to visit these four cities
WE CAN ENJOY OUR VACATIONS IN MEXICO