From 10ad65b363d3a929f84559e1e96ee04623baed81 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Wed, 1 Dec 2021 08:30:42 -0700 Subject: [PATCH] pbfShardGenerator: Add bounds to extracted pbf files This is mostly so that software can see the bounds without having to figure out what shard the file (i.e., so we can more easily look at an area in JOSM and figure out what is going on around the boundary). Signed-off-by: Taylor Smock --- scripts/cloudPBFShardControl/pbfShardGenerator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/cloudPBFShardControl/pbfShardGenerator.py b/scripts/cloudPBFShardControl/pbfShardGenerator.py index cdbdcc9..efed08e 100755 --- a/scripts/cloudPBFShardControl/pbfShardGenerator.py +++ b/scripts/cloudPBFShardControl/pbfShardGenerator.py @@ -368,6 +368,7 @@ def processOsmiumBatch(self, batchFilePath: str) -> int: [ "osmium", "extract", + "--set-bounds", "-vO", "-c{}".format(os.path.join(self.osmiumCfgDir, configFile)), "-d{}".format(self.tmpDir),