Skip to content

Commit

Permalink
tweak args to not download during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Sep 22, 2023
1 parent aef7c0a commit ff4fc05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static void main(String... args) {
var arguments = Arguments.fromArgsOrConfigFile(args);
var config = PlanetilerConfig.from(arguments);
var stats = Stats.inMemory();
var download = arguments.getBoolean("download_osm_tile_weights", "download OSM tile weights file", true);
var download = arguments.getBoolean("download_osm_tile_weights|download", "download OSM tile weights file", false);
if (download && !Files.exists(config.tileWeights())) {
TopOsmTiles.downloadPrecomputed(config);
}
Expand Down

0 comments on commit ff4fc05

Please sign in to comment.