mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	use new path2
This commit is contained in:
		
							parent
							
								
									6e657d593a
								
							
						
					
					
						commit
						1049d94d4c
					
				
					 2 changed files with 4 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -27,16 +27,16 @@
 | 
			
		|||
 | 
			
		||||
# - name: If not, download {{ iiab_map_url }}/regional-resources/cities1000.sqlite to {{ vector_map_path }}/viewer/
 | 
			
		||||
# At this point, fetches from github.com/'REPO'/maps from maps_branch
 | 
			
		||||
- name: Download 26M {{ osm_repo_url }}/{{ maps_branch }}/2022/cities1000.sqlite to {{ vector_map_path }}/viewer/
 | 
			
		||||
- name: Download 26M {{ osm_repo_url }}/{{ maps_branch }}/2020/cities1000.sqlite to {{ vector_map_path }}/viewer/
 | 
			
		||||
  get_url:
 | 
			
		||||
    url: "{{ osm_repo_url }}/{{ maps_branch }}/2022/cities1000.sqlite"
 | 
			
		||||
    url: "{{ osm_repo_url }}/{{ maps_branch }}/2020/cities1000.sqlite"
 | 
			
		||||
    dest: "{{ vector_map_path }}/viewer/"
 | 
			
		||||
    timeout: "{{ download_timeout }}"
 | 
			
		||||
# when: not cities_installed.stat.exists
 | 
			
		||||
 | 
			
		||||
- name: Download {{ osm_repo_url }}/{{ maps_branch }}/2022/map-catalog.json to {{ iiab_etc_path }}
 | 
			
		||||
- name: Download {{ osm_repo_url }}/{{ maps_branch }}/2020/map-catalog.json to {{ iiab_etc_path }}
 | 
			
		||||
  get_url:
 | 
			
		||||
    url: "{{ osm_repo_url }}/{{ maps_branch }}/2022/map-catalog.json"
 | 
			
		||||
    url: "{{ osm_repo_url }}/{{ maps_branch }}/2020/map-catalog.json"
 | 
			
		||||
    dest: "{{ iiab_etc_path }}"    # /etc/iiab
 | 
			
		||||
    timeout: "{{ download_timeout }}"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -488,9 +488,6 @@ osm_vector_maps_install: True
 | 
			
		|||
osm_vector_maps_enabled: False
 | 
			
		||||
# Set to "True" to download .mbtiles files from Archive.org (might be slow!)
 | 
			
		||||
maps_from_internet_archive: False
 | 
			
		||||
osm_repo_url: https://raw.githubusercontent.com/iiab/maps
 | 
			
		||||
maps_branch: master    # Quotes not required
 | 
			
		||||
 | 
			
		||||
vector_map_path: "{{ content_base }}/www/osm-vector-maps"    # /library/www/osm-vector-maps
 | 
			
		||||
 | 
			
		||||
# MongoDB (/library/dbdata/mongodb) greatly enhances the Sugarizer experience.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue