pyguymer3.geo.add_NE_map_underlay

pyguymer3.geo.add_NE_map_underlay(ax, /, *, background=True, cultural=True, debug=True, fov=None, linestyle='solid', linewidth=0.5, maxElev=8850.0, onlyValid=False, physical=True, repair=False, resolution='10m')[source]

Add an underlay to a Cartopy axis from Natural Earth.

Parameters:
  • axis (cartopy.mpl.geoaxes.GeoAxesSubplot) – the axis to add the underlay to

  • background (bool, optional) – add background

  • cultural (bool, optional) – add cultural datasets

  • debug (bool, optional) – print debug messages

  • fov (None or shapely.geometry.polygon.Polygon, optional) – clip the plotted shapes to the provided field-of-view to work around occaisional MatPlotLib or Cartopy plotting errors when shapes much larger than the field-of-view are plotted

  • linestyle (str, optional) – the style of the lines

  • linewidth (float, optional) – the width of the lines

  • maxElev (float, optional) – the maximum elevation of the colour scale and acts as an upper bound or clip (in metres)

  • onlyValid (bool, optional) – only add valid Polygons (checks for validity can take a while, if being being called often)

  • physical (bool, optional) – add physical datasets

  • repair (bool, optional) – attempt to repair invalid Polygons

  • resolution (str, optional) – the resolution of the reefs

Notes

Copyright 2017 Thomas Guymer [1]

References