Six systems built from open-source tools, rigorous data, and the conviction that geography explains almost everything.
Statistical detection of systematic bias in Portuguese Primeira Liga officiating. Binomial tests, FDR correction, home advantage index.
Real-time fire risk mapping using IPMA weather data and NASA FIRMS satellite thermal anomalies over the Portuguese territory.
Interactive WebGIS of Portugal's hiking trails with GPX upload, elevation profiles from SRTM, and biodiversity overlays via GeoDjango.
GIS-based reconstruction of the CS-THB seaplane's last known position using the ARTOP accident report and ocean bathymetry data.
An interactive online museum mapping Portuguese maritime exploration routes, using portolan charts and modern geospatial visualisation.
Printed maps, GIS-themed apparel, and digital resources: datasets, QGIS styles, Python scripts, and cartographic tutorials via Gumroad.
Public dashboard of 62 Portuguese economic indicators with a GIS layer — linking macro data to territory, industrial clusters, and company profiles.
Free public platform aggregating and georeferencing social support resources across 16 municipalities of the Lisbon District — food, health, employment, housing and education.
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.
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.
EconoStats Portugal is a public dashboard of 62 economic indicators organised in 9 thematic modules, with a unique GIS layer that links macro data to the territory — showing not just that footwear fell −5.6%, but that this means pressure on Felgueiras and Guimarães, with clickable company profiles.
Data from official sources: GEE, INE, Banco de Portugal, Eurostat, IEFP. All comparisons use year-on-year variation to eliminate seasonality.
GIS specialist and software developer based in Torres Vedras, Portugal. EconoStats combines 40+ years of software experience with geospatial expertise to make Portuguese economic data genuinely accessible.
In compliance with the EU AI Act (Regulation EU 2024/1689). Tool used: Claude (Anthropic, 2025–2026), as a programming and documentation assistant.
| Scope | AI Usage | Human Responsibility |
|---|---|---|
| Code | Assisted generation of pipeline, models and dashboard code | All code reviewed and validated by the author |
| Documentation | Structuring of architecture document | Content and design decisions by the author |
| Data | No data generated or modified by AI | All sources are official and public |
Django + GeoDjango backend with HTMX for dynamic updates without full page reloads. PostgreSQL + PostGIS for time-series data and spatial queries. Leaflet.js for interactive maps with industrial cluster layers. Chart.js for time-series and D3.js for NUT III choropleths.
GIS differentiator: geocoded industrial locations (~200 companies in MVP) linked to live economic indicators — when a subsector moves, the map highlights affected municipalities and company profiles update in real time.
The EconoStats source code is available on GitHub.
github.com/ppestana/econostats
Ponte Digital is a free, public, non-profit web platform that aggregates, georeferences and publishes information about social support resources across the 16 municipalities of the Lisbon District.
Its central purpose is to eliminate the information gap that prevents citizens in economic vulnerability from accessing existing services. Currently 36 verified resources are live, covering alimentação, saúde, emprego, apoio social and educação.
GIS specialist and software developer based in Torres Vedras, Portugal. Ponte Digital applies 40+ years of software experience to a project of measurable social impact.
In compliance with the EU AI Act (Regulation EU 2024/1689). Tool used: Claude (Anthropic, 2025–2026), as a programming and documentation assistant.
Layered architecture with clear separation between the public frontend, REST API, geospatial database, and curation CMS. All components run on self-hosted Hetzner Cloud, ensuring full data control and GDPR compliance.
Data sources: IEFP, Segurança Social, Misericórdias, Cruz Vermelha, Médicos do Mundo, Câmaras Municipais. Geocodified via Nominatim (OpenStreetMap). Spatial queries via PostGIS — resources findable by proximity radius, municipality and parish.
The Ponte Digital source code is available on GitHub.
github.com/ppestana/social