Overview of momepy core modules
mainmomepy is a Python toolkit for Urban Morphometrics (UMM), designed to measure the physical form of cities across scales (from individual buildings to metropolitan regions). The toolkit is organized into several functional modules:
- dimension: Measures dimensional morphometric characters.
- shape: Measures shape-based morphometric characters.
- distribution: Analyzes the spatial distribution of urban elements.
- intensity: Measures the intensity of urban features.
- graph: Analyzes connectivity, typically using street networks (built on
networkx). - diversity: Measures the diversity of urban morphological characters.
- elements: Generates morphological elements (like Voronoi tessellation for plots) and links elements using unique IDs based on spatial proximity.
- utils: Provides data pre-processing tools, such as cleaning the topology of street networks or building footprints.
momepy is built on top of GeoPandas (using GeoSeries and GeoDataFrame objects) and utilizes PySAL for spatial weights matrices to capture the adjacency of urban elements.