Skip to content

UrbanMapper Overview

UrbanMapper, in a Nutshell

UrbanMapper lets you link your data to spatial featuresโ€”matching, for example, traffic events to streetsโ€”to enrich locations with meaningful, location-based information. Formally, it defines a spatial enrichment function \(f(X, Y) = X \bowtie Y\), where \(X\) represents urban layers (e.g., Streets, Sidewalks, Intersections and more) and \(Y\) is a user-provided dataset (e.g., traffic events, sensor data). The operator \(\bowtie\) performs a spatial join, enriching each feature in \(X\) with relevant attributes from \(Y\).

In short, UrbanMapper is a Python toolkit that enriches typically plain urban layers with datasets in a reproducible, shareable, and easily updatable way using minimal code. For example, given traffic accident data and a streets layer from OpenStreetMap, you can compute accidents per street with a Scikit-Learnโ€“style pipeline called the Urban Pipelineโ€”in under 15 lines of code. As your data evolves or team members want new analyses, you can share and update the Urban Pipeline like a trained model, enabling others to run or extend the same workflow without rewriting code.

See a trailer-style video below to get a quick overview of UrbanMapper and its features:


Community Fork & Roadmap

UrbanMapper Community is the open, community-maintained fork of UrbanMapper. We keep alignment with upstream releases whenever possible while extending the toolkit with openly discussed features and a public roadmap.

If you want to shape the future of UrbanMapper, visit the Community Hub.


Urban Layers Currently Supported

UrbanMapper currently supports the following urban layers:

  • Streets Roads โ€“ Loads street road networks from OpenStreetMap (OSM) using OSMNx.
  • Streets Intersections โ€“ Loads street intersections from OSM using OSMNx.
  • Sidewalks โ€“ Loads sidewalks via Tile2Net using Deep Learning for automated mapping of pedestrian infrastructure from aerial imagery.
  • Cross Walks โ€“ Loads crosswalks via Tile2Net using Deep Learning for automated mapping of pedestrian infrastructure from aerial imagery.
  • Cities' Features โ€“ Loads OSM city features such as buildings, parks, bike lanes, etc., via OSMNx API.
  • Region Neighborhoods โ€“ Loads neighborhood boundaries from OSM using OSMNx Features module.
  • Region Cities โ€“ Loads city boundaries from OSM using OSMNx Features module.
  • Region States โ€“ Loads state boundaries from OSM using OSMNx Features module.
  • Region Countries โ€“ Loads country boundaries from OSM using OSMNx Features module.
  • Subway/Tube โ€“ Planned support for loading subway/tube networks.

More urban layers will be added in the future. Suggestions? Open an issue or pull request on our GitHub repository.


UrbanMapper โ€“ Use Cases by Urban Layer

UrbanMapper is a flexible tool for addressing a wide range of urban analysis challenges. This non-exhaustive list of practical use cases showcases its capabilities in transportation, safety, environment, demographics, and urban planning scenarios based on each urban layer supported.

  • Analyse traffic congestion patterns
    Load traffic sensor data, filter by peak hours, and enrich with road type information to visualise congestion on streets roads.

  • Optimise traffic signal timings
    Use real-time traffic data to dynamically adjust signal timings on streets roads, reducing congestion and improving flow.

  • Map air pollution levels
    Overlay air quality sensor data onto streets roads to identify high-pollution zones and target emissions reduction efforts.

  • Map taxi pickup/dropoff patterns
    Analyse taxi activity to identify high-traffic street intersections for optimising ride-sharing hubs or traffic flow.

  • Analyse collision hotspots
    Pinpoint street intersections with frequent accidents to implement safety measures like better signage or signal adjustments.

  • Evaluate vehicle wait times
    Study wait times at street intersections to optimise traffic management and reduce delays.

  • Evaluate pedestrian safety
    Map accident or complaint data to sidewalks to identify hazardous areas needing maintenance or infrastructure upgrades.

  • Study the effect of sidewalk quality on pedestrian traffic
    Correlate pedestrian volume with sidewalk conditions (e.g., width, surface quality) to prioritise improvements.

  • Assess walkability in urban areas
    Analyse sidewalk networks and proximity to amenities to calculate walkability scores for different zones.

  • Analyse collision hotspots around cross walks
    Map crash data to cross walks to identify accident-prone locations and improve pedestrian safety measures.

  • Optimise pedestrian signal timings
    Use pedestrian traffic data at cross walks to adjust signal timings for better flow and safety.

  • Evaluate crosswalk accessibility
    Assess the distribution and condition of cross walks to ensure equitable access for all pedestrians.

  • Assess the impact of bike lanes on traffic flow
    Study how bike lanes affect vehicle speeds and accident rates on adjacent roads.

  • Plan urban green spaces
    Analyse the distribution of parks to identify areas lacking accessible green spaces for future development.

  • Analyse noise pollution near building footprints
    Overlay noise data onto building footprints to identify residential areas needing soundproofing or noise barriers.

๐Ÿ˜๏ธ Neighborhoods:

  • Evaluate public transportation coverage
    Map transit stops to neighborhoods to identify underserved areas and plan service improvements.
  • Enrich data with demographic information
    Overlay census data on neighborhoods to reveal population trends, income levels, or age distributions for targeted urban planning.
  • Analyse tourist greenery
    Map remarkable trees or green spaces to neighborhoods to assess their impact on tourism and urban greening.

๐ŸŒ† Cities:

  • Compare urban density
    Use building footprints or population data to assess and compare density across cities for regional planning.
  • Analyse economic activity
    Map business locations or employment data to cities to identify economic hubs and growth opportunities.
  • Study transportation connectivity
    Analyse road or rail networks across cities to optimise infrastructure and reduce congestion.

๐ŸŒ States:

  • Study environmental impacts
    Overlay climate or pollution data across states to compare conditions and plan statewide initiatives.
  • Analyse transportation networks
    Map highway or rail networks across states to optimise connectivity and prioritise infrastructure investments.
  • Evaluate policy effectiveness
    Compare demographic or economic data across states to assess the impact of state-level policies.

๐ŸŒ Countries:

  • Analyse global urban trends
    Compare urbanization rates or infrastructure development across countries for international studies.
  • Map international trade routes
    Overlay trade data onto countries to visualise global economic connections and dependencies.
  • Study climate resilience
    Analyse temperature changes or natural disaster data across countries to assess vulnerability and plan mitigation strategies.

Where to Get Started

Provost Simon