Closed wadhwamatic closed 1 year ago
@ajanim & @sifelix - I created example tiled datasets for Myanmar and Cambodia.
Myanmar: 'https://prism-raster-tiles.s3.amazonaws.com/mmr-flood-frequency-index/{z}/{x}/{y}.png' Cambodia: 'http://prism-raster-tiles.s3-website-us-east-1.amazonaws.com/khm-flood-frequency-index/{z}/{x}/{y}.png''
I used the Tiles XYZ plugin for QGIS to create a tile folder: https://plugins.qgis.org/plugins/tiles_xyz/. We also have the example mentioned earlier in this issue. Let me know if these work for you!
There are some potential opportunities soon to utilize outputs from WFP's Humanitarian Data Cube (HDC - an Open Data Cube deployment) which are published as raster tiles rather than WMS / WCS layers. These layers would not be produced on a regular basis like other HDC products such as 10-day rainfall and NDVI. This would allow us to very quickly prototype new layers from HDC and demonstrate them in PRISM. It could also facilitate integration of raster layers which are static or not updated frequently.
I'm hoping we can fairly quickly assess how much effort would be required to add raster tile layers as a new layer type in PRISM. The attributes in the configuration could be fairly simple I think, something like: 'tileLocation': 'https://data.earthobservation.vam.wfp.org/4VP/map/ssd_flood/{z}/{x}/{y}.png' 'tileSize': 256, 'minzoom': 0, 'maxzoom': 22
These layers could be displayed as a non-date layer, always available (i.e. overlayable with other data layers). This is a quick prototype showing how a raster tile, generated by HDC, can be displayed in MapLibre: https://jsfiddle.net/v7kh0zwm/28/