momepy
momepy: Urban Morphology Measuring Toolkit - Published in JOSS (2019)
Science Score: 98.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 10 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords from Contributors
Scientific Fields
Repository
Urban Morphology Measuring Toolkit
Basic Info
- Host: GitHub
- Owner: martinfleis
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://docs.momepy.org
- Size: 107 MB
Statistics
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
momepy

Introduction
Momepy is a library for quantitative analysis of urban form - urban morphometrics. It is part of PySAL (Python Spatial Analysis Library) and is built on top of GeoPandas, other PySAL modules, and networkX.
momepy stands for Morphological Measuring in Python
Some of the functionality that momepy offers:
- Measuring dimensions of morphological elements, their parts, and aggregated structures.
- Quantifying shapes of geometries representing a wide range of morphological features.
- Capturing spatial distribution of elements of one kind as well as relationships between different kinds.
- Computing density and other types of intensity characters.
- Calculating diversity of various aspects of urban form.
- Capturing connectivity of urban street networks.
- Generating relational elements of urban form (e.g. morphological tessellation).
Momepy aims to provide a wide range of tools for a systematic and exhaustive analysis of urban form. It can work with a wide range of elements, while focused on building footprints and street networks.
Comments, suggestions, feedback, and contributions, as well as bug reports, are very welcome.
The package is currently maintained by @martinfleis and @jGaboardi.
Getting Started
A quick and easy getting-started guide is part of the User Guide.
Documentation
Documentation of momepy is available at docs.momepy.org.
Examples
py
tessellation['area_simpson'] = momepy.simpson(tessellation.area, contiguity_k3)

py
G = momepy.straightness_centrality(G)

How to cite
To cite momepy please use the following software paper](https://doi.org/10.21105/joss.01807) published in the JOSS.
Fleischmann, M. (2019) ‘momepy: Urban Morphology Measuring Toolkit’, Journal of Open Source Software, 4(43), p. 1807. doi: 10.21105/joss.01807.
BibTeX:
@article{fleischmann_2019,
author={Fleischmann, Martin},
title={momepy: Urban Morphology Measuring Toolkit},
journal={Journal of Open Source Software},
year={2019},
volume={4},
number={43},
pages={1807},
DOI={10.21105/joss.01807}
}
Install
You can install momepy using Conda from conda-forge (recommended):
conda install -c conda-forge momepy
or from PyPI using pip:
pip install momepy
See the installation instructions for detailed instructions. Momepy depends on the Python geospatial stack, which might cause some dependency issues.
Contributing to momepy
Contributions of any kind to momepy are more than welcome. That does not mean new code only, but also:
- improvements to the documentation and user guide,
- additional tests (ideally filling the gaps in the existing suite),
- bug reports, or
- ideas for what could be added or done better.
All contributions should go through our GitHub repository. Bug reports, ideas, or even questions should be raised by opening an issue on the GitHub tracker. Suggestions for changes in code or documentation should be submitted as a pull request. However, if you are not sure what to do, feel free to open an issue. All discussions will then take place on GitHub to keep the development of momepy transparent.
If you decide to contribute to the codebase, ensure that you are using an up-to-date main branch. The latest development version will always be there, including the documentation (powered by sphinx).
Details are available in the documentation.
Get in touch
If you have a question regarding momepy, feel free to open an issue or a new discussion on GitHub.
Acknowledgments
The initial release of momepy was a result of research of Urban Design Studies Unit (UDSU)](http://udsu-strath.com) supported by the Axel and Margaret Ax:son Johnson Foundation as a part of “The Urban Form Resilience Project” in partnership with the University of Strathclyde in Glasgow, UK. Further development was supported by the Geographic Data Science Lab of the University of Liverpool within the Urban Grammar AI research project.
Copyright (c) 2018-, Martin Fleischmann and PySAL Developers
Owner
- Name: Martin Fleischmann
- Login: martinfleis
- Kind: user
- Location: Prague
- Website: martinfleischmann.net
- Twitter: martinfleis
- Repositories: 96
- Profile: https://github.com/martinfleis
Researcher in geographic data science. Member of @geopandas and @pysal development teams.
JOSS Publication
momepy: Urban Morphology Measuring Toolkit
Tags
urban morphology morphometrics geospatial analysis urban formCitation (CITATION.cff)
cff-version: "1.2.0"
authors:
- family-names: Fleischmann
given-names: Martin
orcid: "https://orcid.org/0000-0003-3319-3366"
doi: 10.5281/zenodo.3368406
message: If you use this software, please cite our article in the
Journal of Open Source Software.
preferred-citation:
authors:
- family-names: Fleischmann
given-names: Martin
orcid: "https://orcid.org/0000-0003-3319-33660"
date-published: 2019-11-20
doi: 10.21105/joss.01807
issn: 2475-9066
issue: 43
journal: Journal of Open Source Software
publisher:
name: Open Journals
start: 1807
title: momepy - Urban Morphology Measuring Toolkit
type: article
url: "https://joss.theoj.org/papers/10.21105/joss.01807"
volume: 4
title: momepy - Urban Morphology Measuring Toolkit
GitHub Events
Total
- Watch event: 1
- Delete event: 8
- Push event: 17
- Create event: 11
Last Year
- Watch event: 1
- Delete event: 8
- Push event: 17
- Create event: 11
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Martin Fleischmann | m****n@m****t | 752 |
| James Gaboardi | j****i@g****m | 44 |
| Krasen Samardzhiev | k****m@g****m | 25 |
| pre-commit-ci[bot] | 6****] | 22 |
| dependabot[bot] | 4****] | 4 |
| Andres Morfin Veytia | 7****v | 2 |
| Greg Maya | g****a@g****m | 2 |
| Matthew Law | m****w@g****m | 2 |
| Miroslav Šedivý | 6****o | 2 |
| AleFeli | 6****i | 1 |
| Colin Watson | c****n@d****g | 1 |
| Gabriel Agostini | 4****i | 1 |
| Gareth Simons | g****s@m****m | 1 |
| Marat Kopytjuk | k****k@g****m | 1 |
| Philipp Huismann | 4****l | 1 |
| Pratyush Tripathy | p****t@g****m | 1 |
| Thi | t****n@g****m | 1 |
| anastassiavybornova | a****y@i****k | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 11
proxy.golang.org: github.com/martinfleis/momepy
- Documentation: https://pkg.go.dev/github.com/martinfleis/momepy#section-documentation
- License: bsd-3-clause
-
Latest release: v0.5.0
published over 4 years ago
Rankings
Dependencies
- actions/checkout v4 composite
- mamba-org/setup-micromamba v2 composite
- actions/checkout v4 composite
- actions/github-script v7 composite
- actions/setup-python v5 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v4 composite
- mamba-org/setup-micromamba v2 composite
- actions/checkout v4 composite
- mamba-org/setup-micromamba v2 composite
- actions/checkout v4 composite
- codecov/codecov-action v5 composite
- mamba-org/setup-micromamba v2 composite
- sphinx-gallery *
- sphinx_copybutton *
- sphinxcontrib.bibtex *
- sphinxext-rediraffe *
- ipython *
- matplotlib *
- myst-parser *
- nbsphinx *
- numpydoc *
- pydata_sphinx_theme *
- sphinx-gallery *
- sphinx_copybutton *
- sphinxcontrib.bibtex *
- sphinxext-rediraffe *
- geopandas >=0.12.0
- libpysal >=4.12.0
- networkx >=2.8
- packaging *
- pandas >=1.5.1
- shapely >=2
- tqdm >=4.63.0
