geotag france
This commit is contained in:
parent
6b01af45d1
commit
d0d553df3b
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue