Closed rebert closed 2 years ago
@ltclm I tested it on my playground putting some dummy tiles to zoomlevel 12 in lv95 and lv03 (4 tiles). I tested -i, -hr and if the bbox works.
BBOX:
for year in current; do
for cs in 21781 2056; do
for zoom in 12; do
for x in {0..1}; do
for y in {0..1}; do
aws --profile playground s3 cp har.png s3://my-tiles/1.0.0/${layer}/default/${year}/${cs}/${zoom}/${x}/${y}.png
done
done
done
done
done
done
for layer in "ch.test-1.bbox"; do
for year in current; do
for cs in 3857; do
for zoom in 1; do
for x in {0..1}; do
for y in {0..1}; do
aws --profile playground s3 cp har.png s3://my-tiles/1.0.0/${layer}/default/${year}/${cs}/${zoom}/${x}/${y}.png
done
done
done
done
done
done
For prefix:
for layer in "ch.test-1.testen" "ch.test-2.testen"; do
for year in 20211231 20221231 current; do
for cs in 21781 2056 3857 4326; do
for x in {0..16}; do
for y in {0..16}; do
for image in "0.png" "1.png"; do
aws --profile playground s3 cp har.png s3://my-tiles/1.0.0/${layer}/default/${year}/${cs}/${x}/${y}/${image}
done
done
done
done
done
done
F.ex:
s3rm --profile playground -b my-tiles -p /1.0.0/ch.test-1.bbox/default/current/2056/* -hr 750 --bbox 2500000,1250000,2550000,1300000 -i png
or
s3rm --profile playground -b my-tiles -p /1.0.0/ch.test-1.bbox/default/current/2056/* -hr 750 --bbox 2500000,1250000,2550000,1300000 -i jpeg
...
`
.