From 21281db442b3ac78b32f39816e1922efa478f573 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),