Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sample risk maps for website testing #7

Closed
amyjsdavis opened this issue Jan 23, 2020 · 5 comments
Closed

Add sample risk maps for website testing #7

amyjsdavis opened this issue Jan 23, 2020 · 5 comments
Assignees

Comments

@amyjsdavis
Copy link
Contributor

@amyjsdavis will add Geotiffs of risk maps to GitHub for website testing

@niconoe
Copy link

niconoe commented Feb 6, 2020

@amyjsdavis : perfect, just ping men when you have one or two sample files so I'll build a realistic (for the content, but also with regards to technicalities) prototype.

@amyjsdavis
Copy link
Contributor Author

@niconoe: here are some samples as you requested. First two GeoTiffs (with the spatial data embedded in the file):
sample.zip

and here are the corresponding PNGs:
be_3190653_hist
be_3190653_rcp26

Let me know how they work out. Thanks!

@niconoe
Copy link

niconoe commented Feb 18, 2020

@amyjsdavis: I now have a prototype able to display them on a Leaflet-based map (without any server-side component), as discussed with @peterdesmet.

Screenshot 2020-02-18 at 15 09 54

I have a few questions for you:

  • would you be able to create GeoTiff files using the standard EPSG4326 projection? The tool I used was unable to interpret your custom projection, but it worked fine after I converted them to EPSG4326 with GDAL (gdalwarp -t_srs EPSG:4326 be_3190653_rcp26.tif be_3190653_rcp26.4326.tif). Alternatively, we could do the conversion later, before storing them on the server (but I have no idea of the data flow at this point, so I'm not sure what's possible).

  • is the scale (range between the lowest and the highest value, and the mapping between a value and a displayed color) the same for all species and geotiff files, or should that be dynamic?

  • @peterdesmet: the prototype is quite rough and basic, let's sit together soon to have a look so I can add a few more features and make it more realistic.

@amyjsdavis
Copy link
Contributor Author

amyjsdavis commented Feb 18, 2020 via email

@niconoe
Copy link

niconoe commented Feb 19, 2020

Thanks for all this. The web map prototype now has its own repository: https://github.com/trias-project/risk-maps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants