mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
notes & to be fixed
This commit is contained in:
parent
8cd11af3d5
commit
17ce6e4fb4
1 changed files with 14 additions and 10 deletions
|
@ -10,12 +10,6 @@
|
|||
- "{{ vector_map_path }}/viewer/tiles"
|
||||
- "{{ vector_map_path }}/installer"
|
||||
|
||||
- name: Download {{ map_catalog_url }}/map-catalog.json to {{ iiab_etc_path }}
|
||||
get_url:
|
||||
url: "{{ map_catalog_url }}/map-catalog.json" # http://download.iiab.io/content/OSM/vector-tiles
|
||||
dest: "{{ iiab_etc_path }}" # /etc/iiab
|
||||
timeout: "{{ download_timeout }}"
|
||||
|
||||
# - name: Does 26M cities database {{ vector_map_path }}/viewer/cities1000.sqlite exist?
|
||||
# stat:
|
||||
# path: "{{ vector_map_path }}/viewer/cities1000.sqlite"
|
||||
|
@ -29,11 +23,10 @@
|
|||
timeout: "{{ download_timeout }}"
|
||||
# when: not cities_installed.stat.exists
|
||||
|
||||
# At this point, fetches from github.com/georgejhunt/maps from test branch
|
||||
- name: Download {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json to {{ iiab_etc_path }}
|
||||
- name: Download {{ map_catalog_url }}/map-catalog.json to {{ iiab_etc_path }}
|
||||
get_url:
|
||||
url: "{{ osm_repo_url }}/master/resources/regions.json"
|
||||
dest: "{{ iiab_etc_path }}"
|
||||
url: "{{ map_catalog_url }}/map-catalog.json" # http://timmoody.com/iiab-files/maps
|
||||
dest: "{{ iiab_etc_path }}" # /etc/iiab
|
||||
timeout: "{{ download_timeout }}"
|
||||
|
||||
- name: Symlink {{ doc_root }}/common/assets/map-catalog.json -> /etc/iiab/map-catalog.json
|
||||
|
@ -48,12 +41,23 @@
|
|||
path: "{{ vector_map_path }}/test-page/assets/map-catalog.json"
|
||||
state: link
|
||||
|
||||
# regions.json is out of sync atm..
|
||||
#- name: Download {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json to {{ iiab_etc_path }}
|
||||
# get_url: {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json
|
||||
|
||||
- name: Download {{ iiab_map_url }}/assets/regions.json to {{ iiab_etc_path }}
|
||||
get_url:
|
||||
url: "{{ iiab_map_url }}/assets/regions.json"
|
||||
dest: "{{ iiab_etc_path }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
|
||||
- name: Symlink {{ vector_map_path }}/maplist/assets/regions.json -> /etc/iiab/regions.json
|
||||
file:
|
||||
src: /etc/iiab/regions.json
|
||||
path: "{{ vector_map_path }}/maplist/assets/regions.json"
|
||||
state: link
|
||||
|
||||
# At this point, fetches from github.com/'REPO'/maps from maps_branch
|
||||
- name: Download OpenLayers test page stuff (JavaScript bundle etc) from {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/* to {{ vector_map_path }}/test-page/ -- for test page http://box/osm-vector-maps/installer/
|
||||
get_url:
|
||||
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/{{ item }}" # https://raw.githubusercontent.com/iiab/maps / master
|
||||
|
|
Loading…
Add table
Reference in a new issue