Note
Click here to download the full example code
Azimuthal Equidistant¶
The main advantage of this projection is that distances from the projection center are displayed in correct proportions. Also directions measured from the projection center are correct. It is very useful for a global view on locations that lie within a certain distance or for comparing distances of different locations relative to the projection center.
elon0/lat0[/horizon]/scale
or Elon0/lat0[/horizon]/width
lon0/lat0
specifies the projection center. The optional parameter
horizon
specifies the max distance to the projection center (i.e. the
visibile portion of the rest of the world map) in degrees <= 180° (default 180°).
Out:
coast [WARNING]: Fill/clip continent option (-G) may not work for this projection.
coast [WARNING]: If the antipode (260/40) is in the ocean then chances are good it will work.
coast [WARNING]: Otherwise, avoid projection center coordinates that are exact multiples of 80 degrees.
<IPython.core.display.Image object>
import pygmt
fig = pygmt.Figure()
fig.coast(projection="E-100/40/4.5i", region="g", frame="g", land="gray")
fig.show()
Total running time of the script: ( 0 minutes 0.827 seconds)