In this recipe, we will learn how to plot locations with given longitude and latitude parameters on the map. This gives a visual representation of locations in terms of how they are placed relative to each other. We will also learn how to connect two locations in a straight line and a spherical direction around the globe.
Plotting locations on the map
Getting ready
You'll need to import the required libraries using the following commands:
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
How to do it...
Here are the steps required to plot the map and various...