Projects

Territorial intelligence
at every scale

Six systems built from open-source tools, rigorous data, and the conviction that geography explains almost everything.

01
CAL
Referee Bias Analytics

Statistical detection of systematic bias in Portuguese Primeira Liga officiating. Binomial tests, FDR correction, home advantage index.

Live · cal.terradigital.net
02
SAEIF
Forest Fire Alert System

Real-time fire risk mapping using IPMA weather data and NASA FIRMS satellite thermal anomalies over the Portuguese territory.

Live · saeif.terradigital.net
03
Ecoturismo
Trail Map Portal

Interactive WebGIS of Portugal's hiking trails with GPX upload, elevation profiles from SRTM, and biodiversity overlays via GeoDjango.

In development
04
ARTOP · CS-THB
1958 Disappearance

GIS-based reconstruction of the CS-THB seaplane's last known position using the ARTOP accident report and ocean bathymetry data.

In development
05
Astrolábio
Age of Discovery Museum

An interactive online museum mapping Portuguese maritime exploration routes, using portolan charts and modern geospatial visualisation.

Planned · Phase 3
06
Store
Maps & Geospatial Goods

Printed maps, GIS-themed apparel, and digital resources: datasets, QGIS styles, Python scripts, and cartographic tutorials via Gumroad.

Planned · Phase 3
07
EconoStats
Economic Intelligence

Public dashboard of 62 Portuguese economic indicators with a GIS layer — linking macro data to territory, industrial clusters, and company profiles.

Live · econostats.terradigital.net
08
Ponte Digital
Social Support Platform

Free public platform aggregating and georeferencing social support resources across 16 municipalities of the Lisbon District — food, health, employment, housing and education.

Live · social.terradigital.net
About TerraDigital

Geography is not
background noise —
it is the signal.

TerraDigital is the practice of Pedro Pestana, a GIS specialist and software developer based in Torres Vedras, Portugal. With over 40 years in software and a decade focused on spatial data engineering, the work here sits at the intersection of open-source GIS, rigorous statistical method, and systems that are genuinely useful.

The platform is built entirely on open tools — PostGIS, GeoServer, QGIS, Python, Leaflet.js — and self-hosted on a Hetzner Cloud VPS. Nothing here is a demo. Every system shown is real, or being built to be.

40+
Years in software, from Cobol/IMS to GeoDjango
8
Projects spanning sport, fire, ecology, history, culture, commerce
100%
Open-source stack: PostGIS · Leaflet · QGIS · Python
1
Solo practice, Torres Vedras, Portugal

Let's talk
territory.

Whether it's a GIS consulting project, a collaboration on spatial data, a question about one of the systems, or a custom map — get in touch.

Torres Vedras, Portugal
CET (UTC+1) · Response within 24 hours
✓ Message sent. I'll get back to you within 24 hours.
SAEIF Sistema de Alerta de Incêndios Florestais
v1.0 · LIVE
01Overview

Real-time forest fire alert and monitoring system integrating NASA FIRMS satellite thermal anomalies, IPMA meteorological data, PROCIV civil protection feeds, and EFFIS fire danger forecasts across the Iberian Peninsula.

Alerts are generated by cross-referencing VIIRS hotspots (SNPP + NOAA-20 + NOAA-21) with PROCIV reports, scored 0–100 using structural risk, FWI, wind, and confirmation data.

02Data Sources
NASA FIRMS · VIIRS IPMA · 222 stations fogos.pt · PROCIV EFFIS · Copernicus ESA WorldCover 2021 OSM Nominatim
03Features

Risk score 0–100 combining structural risk (WorldCover), FWI (EFFIS), wind (IPMA), and PROCIV confirmation. EFFIS ranking ≥80th percentile amplifies score ×1.10.

Fire propagation ellipses at 6h and 12h for ALTO/CRÍTICO alerts, oriented by wind direction.

Layer panel with independent toggles: alerts, hotspots, PROCIV occurrences, structural risk, EFFIS FWI (Today / Tomorrow / Day after).

04Technology Stack
FastAPI PostgreSQL 16 · PostGIS Docker · Nginx Leaflet.js Python · rasterio Hetzner VPS
05Developer

Pedro Pestana · GIS & Data Engineering · Torres Vedras, Portugal

⬡ View source on GitHub