pyguymer3.geo.add_OSM_map_background¶
- pyguymer3.geo.add_OSM_map_background(ax, midLat, res, /, *, debug=True, scale=1)[source]¶
Add OpenStreetMap map tiles as a background to a Cartopy axis.
- Parameters:
axis (cartopy.mpl.geoaxes.GeoAxesSubplot) – the axis to add the OpenStreetMap map tiles as a background to
midLat (float) – the latitude of the middle of the figure (in degrees)
res (float) – the resolution of the figure (in m/px)
debug (bool, optional) – print debug statements
scale (int, optional) – the scale of the tiles
Notes
Copyright 2017 Thomas Guymer [1]
References