Created
          January 16, 2021 08:31 
        
      - 
      
- 
        Save 174n/e63ec8240901730b47277e9a88b92365 to your computer and use it in GitHub Desktop. 
    Google Street View panoramas downloader
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | echo "" > files.txt | |
| for i in {0..12} | |
| do | |
| for j in {0..5} | |
| do | |
| printf "https://geo3.ggpht.com/cbk?cb_client=maps_sv.tactile&authuser=0&hl=de&gl=de&panoid=%s&output=tile&x=%d&y=%d&zoom=4&nbt&fover=2\n\tout=images/%d_%d.png\n" $1 $i $j $i $j >> files.txt | |
| done | |
| done | |
| mkdir images | |
| aria2c -q -i files.txt -j 3 | |
| montage $(ls -1 images | sort -g | xargs -I % echo "images/%") -tile 1x6 -geometry +0+0 miff:- | montage - -geometry +0+0 -tile 13x1 out.jpg | |
| rm -rf images | |
| rm files.txt | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
You need to install aria2 and imagemagick