1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00
* missing link in mapli/assets for regions.json

* wrong target

* the download of regions.json was lost
This commit is contained in:
georgejhunt 2020-08-10 16:06:30 -07:00 committed by GitHub
parent 8090f3bb29
commit 32348e58ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,11 @@
url: "{{ map_catalog_url }}/map-catalog.json"
dest: /etc/iiab/
- name: Download map catalog {{ iiab_map_url }}/assets/regions.json to {{ iiab_etc_path }}
get_url:
url: "{{ iiab_map_url }}/assets/regions.json" # http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
dest: "{{ iiab_etc_path }}"
- name: Check for existence of cities database
stat:
path: "{{ vector_map_path }}/cities1000.sqlite"
@ -38,6 +43,12 @@
dest: "{{ vector_map_path }}/test-page/assets/map-catalog.json"
state: link
- name: Create a link to regions.json in {{ vector_map_path }}/maplist/assets
file:
src: "/etc/iiab/regions.json"
dest: "{{ vector_map_path }}/maplist/assets/regions.json"
state: link
- name: Download the JavaScript bundle with OpenLayers (main.js) for test page http://box/maps/maplist
# At this point, fetches from github.com/georgejhunt/maps from test branch
get_url: