Projects

Things I have built

Research code, teaching tools, Earth observation analyses and longer writing. Code lives on GitHub under AhmadAmmar (current work) and GeospatialGeeks (earlier work).

Current

Web tool · urban morphology

Urban form explorer

  • OpenStreetMap
  • MapLibre
  • street networks
  • MIT

Pan to any neighbourhood in the world and read its streets, buildings and everyday places from OpenStreetMap: intersection density, circuity, orientation order, Spacematrix density, walking access and indices, each with its formula and the share of the area mapped.

Research software · Python

GBEM: Geospatial Building Energy Mapping

  • Earth Engine
  • LightGBM
  • spatial CV
  • Apache-2.0

Code for estimating and mapping building energy efficiency (EPC bands) from Earth observation and geospatial data in London and Belfast, together with the full pipeline of the systematic and bibliometric review.

Research results · web map

GBEM Atlas

  • deck.gl
  • London and Belfast
  • open data

The energy performance of the housing stock in Greater London and Greater Belfast by grid cell, neighbourhood and street: from aggregates of certificates.

Research software · Python

research-helpers

  • BibTeX / Zotero
  • LaTeX to Word
  • MIT

Everyday tools for reproducible research: verified references, open-access full texts, Word versions of LaTeX papers and theses (including IEEE templates), spatial cross-validation, literature-review screening and a library of paper templates.

Template · LaTeX and Word

Ulster University thesis template

  • Overleaf
  • Word version
  • Zotero

An unofficial thesis template set up to the Doctoral College’s format guidance, building a PDF and a matching Word version from the same source, with ready-made Overleaf, Word and PDF downloads.

Teaching · LaTeX

The Atmosphere: a book worked step by step

  • LaTeX / TikZ
  • pgfplots
  • python-pptx

A continuous, self-contained book on the atmosphere, with every question, figure and worked answer on the page and the equations as tested Python functions.

Interactive model · JavaScript and Python

The Atmosphere Atlas

An interactive globe and labs for weather, oceans and climate, with 13 chapters and 125 topics.

Pamphlet · web edition

Marxian Economics 101

  • LaTeX
  • MkDocs
  • July 2026 edition

Understanding political economy for socialist struggle in the twenty-first century. Sixteen chapters from dialectical method, value and surplus value through crisis, financialisation, imperialism and social reproduction to technology and transition, with notation and glossary appendices.

Earth observation and machine learning

Deep learning · BS project

Building segmentation from fused imagery

  • fastai
  • U-Net
  • Mask R-CNN

Building extraction from fused satellite and aerial imagery; U-Net reached an F1 score of 0.89. The repository includes the code and a ready-to-use dataset.

Notebooks · Python

Py4Geo

  • Jupyter
  • Python

Satellite image analytics and Earth data science experiments in Python.

Google Earth Engine analyses

All the working scripts, grouped by topic, are in the public Earth Engine code repository.

ProjectData
Spatiotemporal analysis of air quality in Pakistan with geospatial and machine-learning techniquesSentinel-5P
NO2 over Pakistan before and during the COVID-19 lockdownSentinel-5P
Time-lapse of crop-residue burning in Punjab (India and Pakistan), September–NovemberEarth Engine time-lapse
Urbanisation of Karachi, 1986–2020, harmonising three Landsat sensorsLandsat 5, 7, 8
Chlorophyll-a as a water-quality proxy in lakes and dams around IslamabadSentinel-2
Random forest land-cover mapping of Kashmir from optical, radar, indices and OpenStreetMapSentinel-1/2, OSM

Other analyses

Other software

Earth Engine · JavaScript

Earth Engine code

  • 212 scripts
  • monsoon
  • GEDI
  • SAR

Working scripts from several years of research and learning, grouped by topic.

Geospatial web app · in development

GeoPipeline

  • Python
  • React
  • MIT

An open-source platform being built for uploading, checking and processing vector and raster data in the browser. The structure is in place and the processing features are still to come.

Desktop app · Python

DJ Mixer

  • librosa
  • audio
  • MIT

A desktop mixer with a waveform editor, beat markers, draggable cue points and tempo matching between tracks.

Professional projects

Punjab Information Technology Board · 2018

Policing, elections and 3D city

Police jurisdiction mapping and crime analysis for Punjab; constituency and result mapping for the 2018 general election; a 3D model of Lahore for traffic management; web dashboards, geodatabases and automated GIS tasks.

Offshore Monitoring Ltd · 2020

Weather data for ship routing

Fetching, processing and analysing meteorological data, and building workflows that feed it into ship-routing systems which optimise sailing paths to save time and cost and cut fuel emissions.

Mahbub ul Haq Research Centre, LUMS · 2024

Organisational effectiveness and tax compliance

Research with the Punjab Revenue Authority: data collection, cleaning, web scraping, geocoding, clustering and quality checks on large administrative datasets.

Full details are in the CV.