2023-01-20 03:55:18 +01:00
|
|
|
# mapillary_download
|
2023-09-14 20:06:51 +02:00
|
|
|
Simple code to download images in one or several mapillary sequences.
|
2023-01-20 04:19:37 +01:00
|
|
|
|
|
|
|
## How to use
|
2023-09-14 20:06:51 +02:00
|
|
|
change the access token with your access token and the sequence ids with the ids of the sequences you want to download
|
2023-01-20 04:19:37 +01:00
|
|
|
```Shell
|
2023-09-20 12:21:14 +02:00
|
|
|
python download.py "MLY|xxxx|xxxxxxx" --sequence_ids xxxxxxxxxxx xxxxxxxxxxx
|
|
|
|
```
|
|
|
|
|
|
|
|
## Available arguments
|
|
|
|
```Shell
|
|
|
|
python download.py -h
|
|
|
|
usage: download.py [-h] [--sequence_ids [SEQUENCE_IDS ...]] [--image_ids [IMAGE_IDS ...]] [--destination DESTINATION]
|
|
|
|
[--image_limit IMAGE_LIMIT] [--overwrite]
|
|
|
|
access_token
|
|
|
|
|
|
|
|
positional arguments:
|
|
|
|
access_token Your mapillary access token
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
--sequence_ids [SEQUENCE_IDS ...]
|
|
|
|
The mapillary sequence id(s) to download
|
|
|
|
--image_ids [IMAGE_IDS ...]
|
|
|
|
The mapillary image id(s) to get their sequence id(s)
|
|
|
|
--destination DESTINATION
|
|
|
|
Path destination for the images
|
|
|
|
--image_limit IMAGE_LIMIT
|
|
|
|
How many images you want to download
|
|
|
|
--overwrite overwrite existing images
|
2023-01-20 04:19:37 +01:00
|
|
|
```
|