Urban Boundary Extraction Software Based on Degree of Urbanization
Project Introduction
This project aims to provide a tool for urban boundary extraction based on the Degree of Urbanization (DEGURBA) algorithm. By integrating multi-source geospatial data, it offers a fast, flexible, and efficient method for extracting urban boundaries at specific times and locations, providing technical support and data for researchers.
Features
- Multi-source Data Support: Supports downloading WorldPOP and GPWV4 grid population data.
- Grid Cell Classification: Classifies grid cells into urban centers, urban clusters, and rural grid units based on population density, continuity, and scale.
- Local Unit Classification: Overlays the grid cell classification results onto local spatial units and further classifies them into urban areas, semi-dense areas, and rural areas.
- Flexible and Efficient: Users can generate urban boundary data with different time, location, and classification accuracy requirements.
Installation
Install using QGIS
1. Install QGIS
- Download and install QGIS, version 3.20 or higher.
2. Install rasterio
- In the QGIS QSGeo4W Shell, run
pip install rasterio.
3. Configure Plugin
- Download the plugin ZIP file (
degurba_qgis.zip) from GitHub Releases. - Open QGIS, go to Plugins -> Manage and Install Plugins.
- Select the Install from ZIP tab on the left.
- Browse and select the downloaded
degurba_qgis.zipfile, then click Install Plugin. - Once installed, open the Processing Toolbox to find and use the DEGURBA tools.
Install using Python
You can install the package using pip:
pip install degurba
Usages with QGIS
-
Download Population Data:
- Use the "download worldpop grid data" or "download gpwv4 grid data" tool to select the desired dataset, country, year, and clipping area (optional).
-
Grid Cell Classification:
- Use the "Grid Cell Classification" tool, input the population grid data, and output raster data.
-
Local Unit Classification:
- Use the "Local Units Classification" tool, input the grid cell classification result data, and output local unit data (vector data).
Example
Using Beijing's data for the year 2020 as an example:
- Download the WorldPOP population grid data for Beijing, setting the MASK layer to Beijing's vector boundary.
- Perform grid cell classification on the downloaded population grid data.
- Overlay the classification results onto Beijing's local spatial units (such as districts) to complete the local unit classification.
Notes
- Ensure compatibility between QGIS version and the plugin.
- When downloading data, pay attention to selecting the correct dataset and parameters.
- When performing local unit classification, ensure that the input grid cell classification result data is complete and accurate.
Metadata
Release files for degurba 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| degurba-0.2.tar.gz | 15.4 kB | Without provenance | Details for degurba-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| degurba-0.2-py3-none-any.whl | Python 3 | none | any | Details for degurba-0.2-py3-none-any.whl |
Total release size: 30.0 kB
Release files / degurba-0.2.tar.gz
| Download URL | degurba-0.2.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a61706e15fabc9c5f5bb2162c42e414b19d1f0b909b6375f03fdd35ee1129971
|
|
BLAKE2b-256 checksum How to use checksums |
f46d074de1a166725ed608cff6ba9cda8d25cdb0c8c467a95c663bb531b9455d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / degurba-0.2-py3-none-any.whl
| Download URL | degurba-0.2-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fa7e167319db955b8a269de5217ba91e7258a97eae13cd19545b3332a87b841
|
|
BLAKE2b-256 checksum How to use checksums |
0d485d45641db71a35d7d49c5227972fded8feacd31c787f683fae2129ebd8f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for degurba 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.