geotag france

This commit is contained in:
fred 2021-09-13 22:54:33 +02:00
parent 6b01af45d1
commit d0d553df3b
1 changed files with 4 additions and 4 deletions

View File

@ -32,16 +32,16 @@ try=1
# Randomly choose spot from in RANGE $lat.$lon # Randomly choose spot from in RANGE $lat.$lon
while [[ $(ls ~/.zen/ipfs_swarm/.*/astroport/map/$lat.$lon/p4n/spot.json 2>/dev/null) ]]; do while [[ $(ls ~/.zen/ipfs_swarm/.*/astroport/map/$lat.$lon/p4n/spot.json 2>/dev/null) ]]; do
echo "astroport/$lat.$lon geodata already swarm captured. CONTINUE" echo "astroport/$lat.$lon geodata already swarm captured. CONTINUE"
FLOOR=-10; FLOOR=-5; #-10;
CEILING=30; CEILING=10; #30
RANGE=$(($CEILING-$FLOOR+1)); RANGE=$(($CEILING-$FLOOR+1));
RESULT=$RANDOM; RESULT=$RANDOM;
let "RESULT %= $RANGE"; let "RESULT %= $RANGE";
lon=$(($RESULT+$FLOOR)); lon=$(($RESULT+$FLOOR));
#echo $lon #echo $lon
FLOOR=35; FLOOR=40; #35;
CEILING=60; CEILING=50; #60;
RANGE=$(($CEILING-$FLOOR+1)); RANGE=$(($CEILING-$FLOOR+1));
RESULT=$RANDOM; RESULT=$RANDOM;
let "RESULT %= $RANGE"; let "RESULT %= $RANGE";