zensvi.download.AMSDownloader ============================= .. py:class:: zensvi.download.AMSDownloader(log_path=None, max_workers=None, verbosity=1) Bases: :py:obj:`zensvi.download.base.BaseDownloader` Amsterdam Street View Downloader class. :param log_path: Path to the log file. Defaults to None. :type log_path: str, optional :param max_workers: Number of workers for parallel processing. Defaults to None. :type max_workers: int, optional :param verbosity: Level of verbosity for progress bars. Defaults to 1. 0 = no progress bars, 1 = outer loops only, 2 = all loops. :type verbosity: int, optional .. py:property:: max_workers Property for the number of workers for parallel processing. :returns: max_workers :rtype: int .. py:property:: verbosity Property for the verbosity level of progress bars. :returns: verbosity level (0=no progress, 1=outer loops only, 2=all loops) :rtype: int .. py:method:: download_svi(dir_output: str, path_pid: str = None, cropped: bool = False, lat: float = None, lon: float = None, input_csv_file: str = '', input_shp_file: str = '', input_place_name: str = '', buffer: int = 0, distance: int = 10, start_date: str = None, end_date: str = None, metadata_only: bool = False, grid: bool = False, grid_size: int = 100, max_workers: int = None, verbosity: int = None) Download street view images from Amsterdam Street View API using specified parameters. :param dir_output: The output directory. :type dir_output: str :param path_pid: The path to the panorama ID file. Defaults to None. :type path_pid: str, optional :param cropped: Whether to crop the images. Defaults to False. :type cropped: bool, optional :param lat: The latitude for the images. Defaults to None. :type lat: float, optional :param lon: The longitude for the images. Defaults to None. :type lon: float, optional :param input_csv_file: The input CSV file. Defaults to "". :type input_csv_file: str, optional :param input_shp_file: The input shapefile. Defaults to "". :type input_shp_file: str, optional :param input_place_name: The input place name. Defaults to "". :type input_place_name: str, optional :param buffer: The buffer size. Defaults to 0. :type buffer: int, optional :param distance: The sampling distance for lines. Defaults to 10. :type distance: int, optional :param start_date: The start date for the panorama IDs. Format is isoformat (YYYY-MM-DD). Defaults to None. :type start_date: str, optional :param end_date: The end date for the panorama IDs. Format is isoformat (YYYY- MM-DD). Defaults to None. :type end_date: str, optional :param metadata_only: Whether to download metadata only. Defaults to False. :type metadata_only: bool, optional :param grid: Grid parameter for the GeoProcessor. Defaults to False. :type grid: bool, optional :param grid_size: Grid size parameter for the GeoProcessor. Defaults to 1. :type grid_size: int, optional :param max_workers: Number of workers for parallel processing. If not specified, uses the value set during initialization. :type max_workers: int, optional :param verbosity: Level of verbosity for progress bars. If not specified, uses the value set during initialization. :type verbosity: int, optional :returns: None :raises ValueError: If neither lat and lon, csv file, shapefile, nor place name is provided. .. py:property:: log_path Property for log_path. :returns: Path to the log file :rtype: str