mapreader.download.downloader

Module Contents

Classes

Downloader

A class to download maps (without using metadata)

class mapreader.download.downloader.Downloader(download_url)

A class to download maps (without using metadata)

Parameters:

download_url (str | list)

download_map_by_polygon(polygon, zoom_level=14, path_save='maps', overwrite=False, map_name=None)

Downloads a map contained within a polygon.

Parameters:
  • polygon (Polygon) – A polygon defining the boundaries of the map

  • zoom_level (int, optional) – The zoom level to use, by default 14

  • path_save (str, optional) – Path to save map sheets, by default “maps”

  • overwrite (bool, optional) – Whether to overwrite existing maps, by default False.

  • map_name (str, optional) – Name to use when saving the map, by default None

Return type:

None