Single output file generation, when you specify single input source and single output format
Batch output file generation, also known as daily update, because we run this procedure on a daily basis to get up-to-date listings data
Single output file generation
First, you need to specify source of input data. It could be:
The latest available Wikivoyage dump. In that case, specify "-input-latest <lang>" option, where "<lang>" is a language of a dump to download.
An URL to download Wikivoyage dump from. In that case, specify "-input-url <url>" option
If you already have a downloaded dump, specify "input-file <filename>" option, where "<filename>" is a path to dump file
Then, specify output settings:
To specify name of a file to put results to, pass "-output-filename <filename>" option
To specify format of a file you want to get, pass "-output-format <format>" option. At that moment, the following formats are available: 'osmand-xml', 'osmand-xml-user-defined', 'obf', 'obf-user-defined', 'csv', 'sql', 'gpx', 'kml'
Batch output file generation
During batch output file generation, the tool automatically downloads the most recent Wikivoyage dumps for all supported languages, parses them and
creates output files in all available formats.
First, with "-latest-count <num>" you could specify maximum number of dumps to download for each language. For example, if you want to generate data only
for the latest dump, specify 1, if you want to generate data for the latest and the previous dumps, then specify 2.
Additionally you could set different directories:
-listings-dir <directory>: output directory to put listings to
-dumps-cache-dir <directory>: directory to download and cache Wikivoyage dumps
-working-dir <directory>: directory for temporary files