Skip to main content

Urban Boundary Extraction Software Based on Degree of Urbanization

Project description

Urban Boundary Extraction Software Based on Degree of Urbanization

PyPI version

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.

example

(a) Gridded population of Beijing in 2020. (b) Grid cell level classification result by DEGURBA. (c) Local unit classification result by DEGURBA.

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.zip file, 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

  1. 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).
  2. Grid Cell Classification:

    • Use the "Grid Cell Classification" tool, input the population grid data, and output raster data.
  3. 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:

  1. Download the WorldPOP population grid data for Beijing, setting the MASK layer to Beijing's vector boundary.

download window

download result

  1. Perform grid cell classification on the downloaded population grid data.

grid cell classification

grid cell classification result

  1. Overlay the classification results onto Beijing's local spatial units (such as districts) to complete the local unit classification.

local unit classification

local unit classification result

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

degurba-0.2.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

degurba-0.2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file degurba-0.2.tar.gz.

File metadata

  • Download URL: degurba-0.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for degurba-0.2.tar.gz
Algorithm Hash digest
SHA256 a61706e15fabc9c5f5bb2162c42e414b19d1f0b909b6375f03fdd35ee1129971
MD5 62ba2f17aad14119d22b154467aa5952
BLAKE2b-256 f46d074de1a166725ed608cff6ba9cda8d25cdb0c8c467a95c663bb531b9455d

See more details on using hashes here.

File details

Details for the file degurba-0.2-py3-none-any.whl.

File metadata

  • Download URL: degurba-0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for degurba-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fa7e167319db955b8a269de5217ba91e7258a97eae13cd19545b3332a87b841
MD5 d5e13d369878622fac07c929a787bf56
BLAKE2b-256 0d485d45641db71a35d7d49c5227972fded8feacd31c787f683fae2129ebd8f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page