1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

roles/osm-vector-maps: D/l three 25-48MB files from repo iiab/maps-assets

This commit is contained in:
root 2022-07-19 12:17:19 -04:00
parent a761450578
commit db770f1be5
2 changed files with 13 additions and 11 deletions

View file

@ -20,9 +20,9 @@
- "{{ vector_map_path }}/viewer/tiles"
- "{{ vector_map_path }}/installer"
- name: Download 26MB {{ osm_repo_url }}/{{ maps_branch }}/2020/cities1000.sqlite to {{ vector_map_path }}/viewer/
- name: Download 26MB {{ maps_assets_url }}/cities1000.sqlite to {{ vector_map_path }}/viewer/
get_url:
url: "{{ osm_repo_url }}/{{ maps_branch }}/2020/cities1000.sqlite" # e.g. https://raw.githubusercontent.com/iiab/maps + / + master + ...
url: "{{ maps_assets_url }}/cities1000.sqlite" # e.g. https://raw.githubusercontent.com/iiab/maps-assets/main
dest: "{{ vector_map_path }}/viewer/"
timeout: "{{ download_timeout }}"
@ -77,9 +77,9 @@
- tileserver.php
- name: Download 48MB {{ map_installer_url }}/{{ installer_planet }} to {{ vector_map_path }}/installer/ -- for map installer
- name: Download 48MB {{ maps_assets_url }}/{{ installer_planet }} to {{ vector_map_path }}/installer/ -- for map installer
get_url:
url: "{{ map_installer_url }}/{{ installer_planet }}" # e.g. https://download.iiab.io/content/OSM/vector-tiles + / + planet_z0-z6_2020.mbtiles
url: "{{ maps_assets_url }}/{{ installer_planet }}" # e.g. planet_z0-z6_2020.mbtiles
dest: "{{ vector_map_path }}/installer/"
timeout: "{{ download_timeout }}"
@ -95,9 +95,9 @@
path: "{{ vector_map_path }}/viewer/tiles/{{ installer_planet }}"
state: link
- name: Download 25MB {{ map_installer_url }}/{{ installer_satellite }} to {{ vector_map_path }}/viewer/tiles/ -- basic satellite photos
- name: Download 25MB {{ maps_assets_url }}/{{ installer_satellite }} to {{ vector_map_path }}/viewer/tiles/ -- basic satellite photos
get_url:
url: "{{ map_installer_url }}/{{ installer_satellite }}" # e.g. satellite_z0-z6_2020.mbtiles
url: "{{ maps_assets_url }}/{{ installer_satellite }}" # e.g. satellite_z0-z6_2020.mbtiles
dest: "{{ vector_map_path }}/viewer/tiles/"
timeout: "{{ download_timeout }}"