You are browsing as a guest. Sign up (or log in) to start making projects!

2h 50m 33s logged

Built the core risk-calculation logic for Flood Risk Index today. Ran
into a real problem first: the map tiles I’d originally set up (CartoDB
dark tiles) started requiring an API key I don’t have — the whole map
was covered in “API KEY REQUIRED” watermarks. Fixed it by switching to
OpenStreetMap’s standard tiles (permanently free, no key) and using a
CSS color-inversion trick to keep the dark navy look I wanted.

Then wrote calculateRisk() myself — it takes real elevation and rainfall
data for any point someone clicks on the map, and combines them into a
Low/Moderate/High risk score using simple, transparent rules (low
elevation + high rain chance = higher risk). Also wrote a full README
explaining the project, and being upfront that this uses a rule-based
formula rather than a trained ML model on satellite imagery — that’s a
deliberate scope decision (real, explainable results now) rather than an
unfinished feature, with the ML version listed as future work.

1
114

Comments 0

No comments yet. Be the first!