Last active
August 28, 2022 12:57
-
-
Save pjdufour/7f66ad8889e912ec124527faa9d173a1 to your computer and use it in GitHub Desktop.
GeoDash Quick Start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Quick Start Step 1" | |
view: | |
baselayer: osm | |
featurelayers: [] | |
latitude: 18.7360 | |
longitude: -72.4178 | |
maxZoom: 18 | |
minZoom: 0 | |
zoom: 7 | |
controls: [] | |
controls: | |
attribution: false | |
legend: false | |
zoom: false | |
renderlayers: | |
- osm | |
baselayers: | |
- id: osm | |
title: OpenStreetMap | |
description: OpenStreetMap Basemap, Standard Style | |
source: | |
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>' | |
name: OpenStreetMap | |
tile: | |
url: https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png | |
type: tiles | |
featurelayers: [] | |
overlays: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Quick Start Step 2" | |
view: | |
baselayer: osm | |
featurelayers: | |
- wld_poi_warehouses_wfp | |
latitude: 18.7360 | |
longitude: -72.4178 | |
maxZoom: 18 | |
minZoom: 0 | |
zoom: 7 | |
controls: [] | |
controls: | |
attribution: false | |
legend: false | |
zoom: false | |
renderlayers: | |
- wld_poi_warehouses_wfp | |
- osm | |
baselayers: | |
- id: osm | |
title: OpenStreetMap | |
description: OpenStreetMap Basemap, Standard Style | |
source: | |
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>' | |
name: OpenStreetMap | |
tile: | |
url: https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png | |
type: tiles | |
featurelayers: | |
- id: wld_poi_warehouses_wfp | |
type: WMS | |
title: "Global WFP Warehouses" | |
description: "This layer contains locations and additional information of WFP warehouses worldwide." | |
source: | |
name: "WFP" | |
attribution: "WFP GeoNode" | |
site: "WFP GeoNode" | |
wms: | |
version: "1.1.1" | |
layers: ["geonode:wld_poi_warehouses_wfp"] | |
styles: [] | |
format: 'image/png' | |
transparent: true | |
buffer: 256 | |
url: "http://geonode.wfp.org/cors/geoserver/geonode/wms" | |
wfs: | |
version: "1.0.0" | |
url: "http://geonode.wfp.org/cors/geoserver/wfs" | |
geometry: shape | |
overlays: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Quick Start Step 3" | |
view: | |
baselayer: osm | |
featurelayers: | |
- wld_poi_warehouses_wfp | |
latitude: 18.7360 | |
longitude: -72.4178 | |
maxZoom: 18 | |
minZoom: 0 | |
zoom: 7 | |
controls: [] | |
controls: | |
attribution: false | |
legend: false | |
zoom: false | |
renderlayers: | |
- wld_poi_warehouses_wfp | |
- osm | |
baselayers: | |
- id: osm | |
title: OpenStreetMap | |
description: OpenStreetMap Basemap, Standard Style | |
source: | |
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>' | |
name: OpenStreetMap | |
tile: | |
url: https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png | |
type: tiles | |
featurelayers: | |
- id: wld_poi_warehouses_wfp | |
type: WMS | |
title: "Global WFP Warehouses" | |
description: "This layer contains locations and additional information of WFP warehouses worldwide." | |
source: | |
name: "WFP" | |
attribution: "WFP GeoNode" | |
site: "WFP GeoNode" | |
wms: | |
version: "1.1.1" | |
layers: ["geonode:wld_poi_warehouses_wfp"] | |
styles: [] | |
format: 'image/png' | |
transparent: true | |
buffer: 256 | |
url: "http://geonode.wfp.org/cors/geoserver/geonode/wms" | |
wfs: | |
version: "1.0.0" | |
url: "http://geonode.wfp.org/cors/geoserver/wfs" | |
geometry: shape | |
popup: | |
title: "WFP Warehouse: {{ feature.attributes.whlocation }}" | |
panes: | |
- id: popup_overview | |
tab: {label: Overview } | |
fields: | |
- { "attribute": whlocation, "label": "Location", "value": "{{ feature.attributes.whlocation }}" } | |
- { "attribute": owner, "label": "Owner", "value": "{{ feature.attributes.ownerorg }}" } | |
- { "attribute": status, "label": "Status", "value": "{{ feature.attributes.status }}" } | |
- { "attribute": locprecision, "label": "Location Precision", "value": "{{ feature.attributes.locprecision }}" } | |
- { type: link, label: "WFP GeoNode", value: "{{ layer.title }}", url: "http://geonode.wfp.org/layers/geonode:wld_poi_warehouses_wfp" } | |
- type: link | |
label: "Logistics Cluster:" | |
value: "Hurricane Matthew" | |
url: "http://www.logcluster.org/sector/hurrimat16" | |
- value: "{{ feature.geometry.lat | number : 4 }}, {{ feature.geometry.lon | number : 4 }}" | |
type: link | |
label: "OpenStreetMap" | |
url: "https://www.openstreetmap.org/#map=15/{{ feature.geometry.lat }}/{{ feature.geometry.lon }}" | |
overlays: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Quick Start Step 4" | |
view: | |
baselayer: osm | |
featurelayers: | |
- wld_poi_warehouses_wfp | |
latitude: 18.7360 | |
longitude: -72.4178 | |
maxZoom: 18 | |
minZoom: 0 | |
zoom: 7 | |
controls: [] | |
controls: | |
attribution: false | |
legend: false | |
zoom: false | |
renderlayers: | |
- wld_poi_warehouses_wfp | |
- osm | |
baselayers: | |
- id: osm | |
title: OpenStreetMap | |
description: OpenStreetMap Basemap, Standard Style | |
source: | |
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>' | |
name: OpenStreetMap | |
tile: | |
url: https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png | |
type: tiles | |
featurelayers: | |
- id: wld_poi_warehouses_wfp | |
type: WMS | |
title: "Global WFP Warehouses" | |
description: "This layer contains locations and additional information of WFP warehouses worldwide." | |
source: | |
name: "WFP" | |
attribution: "WFP GeoNode" | |
site: "WFP GeoNode" | |
wms: | |
version: "1.1.1" | |
layers: ["geonode:wld_poi_warehouses_wfp"] | |
styles: [] | |
format: 'image/png' | |
transparent: true | |
buffer: 256 | |
url: "http://geonode.wfp.org/cors/geoserver/geonode/wms" | |
wfs: | |
version: "1.0.0" | |
url: "http://geonode.wfp.org/cors/geoserver/wfs" | |
geometry: shape | |
popup: | |
title: "WFP Warehouse: {{ feature.attributes.whlocation }}" | |
panes: | |
- id: popup_overview | |
tab: {label: Overview } | |
fields: | |
- { "attribute": whlocation, "label": "Location", "value": "{{ feature.attributes.whlocation }}" } | |
- { "attribute": owner, "label": "Owner", "value": "{{ feature.attributes.ownerorg }}" } | |
- { "attribute": status, "label": "Status", "value": "{{ feature.attributes.status }}" } | |
- { "attribute": locprecision, "label": "Location Precision", "value": "{{ feature.attributes.locprecision }}" } | |
- { type: link, label: "WFP GeoNode", value: "{{ layer.title }}", url: "http://geonode.wfp.org/layers/geonode:wld_poi_warehouses_wfp" } | |
- type: link | |
label: "Logistics Cluster:" | |
value: "Hurricane Matthew" | |
url: "http://www.logcluster.org/sector/hurrimat16" | |
- value: "{{ feature.geometry.lat | number : 4 }}, {{ feature.geometry.lon | number : 4 }}" | |
type: link | |
label: "OpenStreetMap" | |
url: "https://www.openstreetmap.org/#map=15/{{ feature.geometry.lat }}/{{ feature.geometry.lon }}" | |
overlays: [] | |
navbars: | |
- id: toolbar | |
placement: top | |
tabs: | |
- title: "WFP Warehouses" | |
value: toggle_wfp_warehouses | |
tooltip: { placement: top, content: "Toggle WFP Warehouses" } | |
intents: | |
- name: toggleFeatureLayer | |
properties: [{ name: layer, value: "wld_poi_warehouses_wfp" }] | |
- title: "Reset Extent" | |
value: reset_extent | |
tooltip: { placement: top, content: "Reset Extent" } | |
intents: | |
- name: flyToExtent | |
properties: [{"name": "extent", "value": "initial"}] | |
- id: locations | |
placement: bottom | |
intents: | |
- name: stateChanged | |
properties: [{ name: location, value: "{{ tab.value }}" }] | |
- name: flyToLocation | |
properties: | |
- { name: lat, value: "{{ tab.lat }}" } | |
- { name: lon, value: "{{ tab.lon }}" } | |
- { name: zoom, value: "{{ tab.zoom }}" } | |
- { name: projection, value: "{{ tab.projection }}" } | |
switch: "state.location" | |
tabs: | |
- title: "Toussaint Louverture International Airport" | |
value: airport | |
tooltip: { placement: top, content: "Toussaint Louverture International Airport" } | |
lat: 18.5802 | |
lon: -72.2862 | |
zoom: 15 | |
projection: "EPSG:4326" | |
- title: Carrefour | |
value: carrefour | |
tooltip: { placement: top, content: "Carrefour, Haiti" } | |
lat: 18.5348 | |
lon: -72.4098 | |
zoom: 12 | |
projection: "EPSG:4326" | |
- title: Jérémie | |
value: jeremie | |
tooltip: { placement: top, content: "Jérémie, Haiti" } | |
lat: 18.64462 | |
lon: -74.11377 | |
zoom: 17 | |
projection: "EPSG:4326" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment