mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
osm-vector-maps/tasks/install.yml: cities1000.sqlite bug etc
This commit is contained in:
parent
b29b4a37b1
commit
a1ec9e574b
1 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: Make ~5 directories in {{ vector_map_path }} (0755 by default)
|
- name: Make ~5 directories (0755 by default)
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
@ -20,9 +20,9 @@
|
||||||
url: "{{ iiab_map_url }}/assets/regions.json" # http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
|
url: "{{ iiab_map_url }}/assets/regions.json" # http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
|
||||||
dest: "{{ iiab_etc_path }}"
|
dest: "{{ iiab_etc_path }}"
|
||||||
|
|
||||||
- name: Does cities database {{ vector_map_path }}/cities1000.sqlite exist?
|
- name: Does ~26M cities database {{ vector_map_path }}/viewer/cities1000.sqlite exist?
|
||||||
stat:
|
stat:
|
||||||
path: "{{ vector_map_path }}/cities1000.sqlite"
|
path: "{{ vector_map_path }}/viewer/cities1000.sqlite"
|
||||||
register: cities_installed
|
register: cities_installed
|
||||||
|
|
||||||
- name: If not, download {{ iiab_map_url }}/regional-resources/cities1000.sqlite to {{ vector_map_path }}/viewer/
|
- name: If not, download {{ iiab_map_url }}/regional-resources/cities1000.sqlite to {{ vector_map_path }}/viewer/
|
||||||
|
@ -52,11 +52,11 @@
|
||||||
# At this point, fetches from github.com/georgejhunt/maps from test branch
|
# At this point, fetches from github.com/georgejhunt/maps from test 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/maps/maplist
|
- 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/maps/maplist
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ item }}"
|
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/{{ item }}" # https://raw.githubusercontent.com/iiab/maps / master
|
||||||
dest: "{{ vector_map_path }}/test-page/"
|
dest: "{{ vector_map_path }}/test-page/"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/test-page-bundle.js" # https://raw.githubusercontent.com/iiab/maps / master
|
- test-page-bundle.js
|
||||||
- "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/index.html"
|
- index.html
|
||||||
|
|
||||||
- name: Download OpenLayers viewer page stuff (JavaScript bundle etc) from {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/build/* to {{ vector_map_path }}/viewer/
|
- name: Download OpenLayers viewer page stuff (JavaScript bundle etc) from {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/build/* to {{ vector_map_path }}/viewer/
|
||||||
# At this point, fetches from github.com/iiab/maps from {{ maps_branch }} branch
|
# At this point, fetches from github.com/iiab/maps from {{ maps_branch }} branch
|
||||||
|
|
Loading…
Reference in a new issue