mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 04:21:08 +00:00
onthegomap/planetiler#379 - download dir config (#100)
This commit is contained in:
@@ -16,7 +16,7 @@ public class OpenMapTilesMain {
|
|||||||
|
|
||||||
static void run(Arguments arguments) throws Exception {
|
static void run(Arguments arguments) throws Exception {
|
||||||
Path dataDir = Path.of("data");
|
Path dataDir = Path.of("data");
|
||||||
Path sourcesDir = dataDir.resolve("sources");
|
Path sourcesDir = arguments.file("download_dir", "download directory", dataDir.resolve("sources"));
|
||||||
// use --area=... argument, AREA=... env var or area=... in config to set the region of the world to use
|
// use --area=... argument, AREA=... env var or area=... in config to set the region of the world to use
|
||||||
// will be ignored if osm_path or osm_url are set
|
// will be ignored if osm_path or osm_url are set
|
||||||
String area = arguments.getString(
|
String area = arguments.getString(
|
||||||
|
|||||||
Reference in New Issue
Block a user