Landmask (NaturalEarth)

The outline of the landmask is obtained from Natural Earth. It is automatically downloaded on-the-fly (but only once) with cartopy and opened with geopandas. The following landmasks are currently available:

  • Land 1:110m

  • Land 1:50m

  • Land 1:10m


If available, it is better to use the landmask of the used data set.

The following imports are necessary for the examples.

In [1]: import as ccrs

In [2]: import regionmask

In [3]: import matplotlib.pyplot as plt



From v0.5 the Caspian Sea is included in the (land-) mask.

In [4]: land = regionmask.defined_regions.natural_earth.land_110

In [5]: land.plot()
Out[5]: <GeoAxesSubplot:>

In [6]: plt.tight_layout()