1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

disambiguate maps->osm

This commit is contained in:
George Hunt 2019-03-31 20:18:46 -07:00
parent 20743b73a1
commit df4373bc1e
3 changed files with 11 additions and 11 deletions

View file

@ -1,26 +1,26 @@
- name: Fetch the javascript bundle with openlayers module, and map.js - name: Fetch the javascript bundle with openlayers module, and map.js
get_url: get_url:
url: "{{ iiab_maps_url }}/map.js" url: "{{ iiab_osm_url }}/map.js"
dest: "{{ doc_root }}/common/assets/" dest: "{{ doc_root }}/common/assets/"
- name: Fetch the catalog for maps - name: Fetch the catalog for osm maps
get_url: get_url:
url: "{{ iiab_maps_url }}/regions.json" url: "{{ iiab_osm_url }}/regions.json"
dest: "{{ iiab_dir }}/regions.json" dest: "{{ iiab_dir }}/regions.json"
- name: Fetch the bounding box description for maps - name: Fetch the bounding box description for osm maps
get_url: get_url:
url: "{{ iiab_maps_url }}/bboxes.geojson" url: "{{ iiab_osm_url }}/bboxes.geojson"
dest: "{{ doc_root }}/common/assets/bboxes.geojson" dest: "{{ doc_root }}/common/assets/bboxes.geojson"
- name: Install the script to update maps from map catalog - name: Install the script to update osm catalog
template: template:
src: iiab-update-maps src: iiab-update-osm
dest: /usr/bin/iiab-update-maps dest: /usr/bin/iiab-update-osm
mode: "0755" mode: "0755"
- name: Generate the bounding bboxes.geojson file - name: Generate the bounding bboxes.geojson file
shell: /usr/bin/iiab-update-maps shell: /usr/bin/iiab-update-osm
- name: Copy the Countries geojson to assets - name: Copy the Countries geojson to assets
copy: copy:
@ -53,7 +53,7 @@
group: '{{ apache_user }}' group: '{{ apache_user }}'
mode: '0755' mode: '0755'
- name: Copy the splash page for maps to apache root for maps - name: Copy the splash page for osm-vector to the apache root for osm
template: template:
src: splash-index.html src: splash-index.html
dest: "{{ osm_vector_path }}/splash/index.html" dest: "{{ osm_vector_path }}/splash/index.html"

View file

@ -15,7 +15,7 @@ pip_packages_dir: "{{ iiab_base }}/pip-packages"
yum_packages_dir: "{{ iiab_base }}/yum-packages" yum_packages_dir: "{{ iiab_base }}/yum-packages"
downloads_dir: "{{ iiab_base }}/downloads" downloads_dir: "{{ iiab_base }}/downloads"
iiab_download_url: http://download.iiab.io/packages iiab_download_url: http://download.iiab.io/packages
iiab_maps_url : http://download.iiab.io/content/OSM/vector-tiles iiab_osm_url : http://download.iiab.io/content/OSM/vector-tiles
content_base: "/library" content_base: "/library"
doc_base: "{{ content_base }}/www" doc_base: "{{ content_base }}/www"