How to run it from command line?
If your install folder is "C:\allmapsoft\yandex", you can use the followed command to lauch it automatically:
C:\allmapsoft\yandex\downloader.exe para1 para2 para2 para3 para4 para5 para6 para7 para8 para9
para1: task name
para2: maps type
para3: zoom level
para4: left longitude
para5: right longitude
para6: top latitude
para7: bottom latitude
para8: path to save
para9(optional): "hide" to minimize window when download; if blank, to display window.
For example:
If you want to download an area, Yandex map (English, Russia)(Maps type ID=16):
task name=test.yand;
maps type=16;
zoom-level=12;
left-longitude=37;
right-longitude=38;
top-latitude=56;
bottom-latitude=55;
path to save=C:\downloads
Then the command line should be:
"C:\allmapsoft\yandex\downloader.exe" "test.yand" 16 12 37 38 56 55 "C:\downloads"
If you want to hide the window, please use:
"C:\allmapsoft\yandex\downloader.exe" "test.yand" 16 12 37 38 56 55 "C:\downloads" hide
After downloading, you can also run combiner.exe from command line mode:
"C:\allmapsoft\yandex\combiner.exe" para1 para2
para1:task name(full path)
para2:output types(separated with comma)
For example:
"C:\allmapsoft\yandex\combiner.exe" "C:\downloads\test.yand" jpg,png,tif
When task finished, the downloader or combiner will be automatically closed.
Maps type list
Maps type name |
Maps type ID |
Yandex map (English, Russia) |
16 |
Yandex satellite map (Russia) |
17 |
Yandex map (Russian, Russia) |
100 |
Yandex Hybrid (English, Russia) |
125 |
Yandex Hybrid (Russian, Russia) |
126 |
Yandex map (English, Russia, 512px) | 704 |
Yandex map (Russian, Russia, 512px) | 705 |
Yandex map (English, Russia, 1024px) | 706 |
Yandex map (Russian, Russia, 1024px) | 707 |
Yandex map (English, Russia, 1280px) | 708 |
Yandex map (Russian, Russia, 1280px) | 709 |
|