All works
Case study

Water Footprint DSS

A geospatial decision support system that turns a research team's spreadsheet method into a validated engine.

Role
Full Stack Developer
With
UP Diliman, Institute of Civil Engineering
Where
Quezon City, Metro Manila
41 subbasins, mapped along one river
01

The need

A research team had a water-footprint methodology that lived in Excel.

Planners needed it as a tool: computed per subbasin and barangay, comparable across scenarios, and able to recommend what to do.

02Station to screen

How a reading travels

  1. 01

    Geography

    41 subbasins and 25 barangays, handled as two geographies with PostGIS area-weighted apportionment.

  2. 02

    Engine

    The team's Excel methodology, rebuilt as a validated compute engine within ±2% of the original.

  3. 03

    Runs

    Every run is versioned and immutable, so scenarios can be compared side by side.

  4. 04

    Advice

    An MCDA recommendation engine ranks interventions against water-quality hotspots.

  5. 05

    Reports

    Automated PDF reports with map and chart exports.

03Results

What it achieved

41
Subbasins
Assessed for water footprint
25
Barangays
Covered by the same engine
±2%
Accuracy
Against the team's Excel method
04Role

My part

Architected the system

Next.js 14, FastAPI and PostGIS, with a generated OpenAPI TypeScript client for end-to-end type safety and role-based access for admins, researchers and LGU planners.

Made it trustworthy

A pytest suite covers the compute engine, authorization and MCDA ranking logic; CI uses path-filtered GitHub Actions and a fresh Neon database branch per pull request.

Built the public site

Designed and built the public UP-ICE Wiser Cities website, with project and research profiles and interactive data displays.

05Stack

Built with

Next.js 14FastAPIPostGISTypeScriptPythonGeoPandasNeonpytestGitHub Actions
© 2026 Regee Casaña · Grown with care