Skip to content

🏘 Urban Renewal Indicator Calculator: Coverage Rate, Buffer Zone, Road Network Building Density, etc.

Notifications You must be signed in to change notification settings

kingsley0107/urban_renewal_indices_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENGLISH 中文版

Urban Renewal Indicator Calculator (v0.1.0)

Main Features

  • Calculation of various urban renewal indicators on a parcel level (coverage rate, density, volume, etc.)
  • Regular filtering of certain types of Amap POIs (e.g., markets, supermarkets, delivery sites, etc.)

Data Samples

  • blocks
  • architectures
  • POIs
  • results

Module Introduction

1. Calculator.PointIndex

  • Calculation of POI coverage rate on a parcel level (e.g., market POI with a 300m buffer, calculating the coverage rate within each parcel)
    • Algorithmic principles:
      • data

        Original POI and parcel data.

      • step1

        Generating buffers based on POIs (merging overlapping areas).

      • step2

        Extracting the intersection between buffers and parcels.

      • step3

        Calculating the buffer area for each parcel and dividing it by the total parcel area to obtain the result.

  • Calculation of the number of POIs (buffered) within each parcel (e.g., counting the number of parcels with market buffers of 300m) (Set the buffer to 0.0001 when no buffer is needed)
    • Algorithmic principles: - data2

      Original POI and parcel data.


      - step1

      Generating buffers based on POIs (without merging overlapping areas).

      - step2

      Extracting the intersection between buffers and parcels (multiple overlapping areas may occur when a parcel is covered by multiple buffers).

      - step3

      Counting the number of intersecting buffers for each parcel to obtain the output result.

2. Calculator.LineIndex

  • Calculation of road network density on a parcel level
    • Algorithmic principles:
      • data

        Original road network and parcel data.

      • step1

        Extracting the road network portions that overlap with parcels.

      • step2

        Extracting the road network portions that overlap with parcels.

3. Calculator.AoiIndex

  • Calculation of area-based indicators on a parcel level
  • Coverage rate similar to POI
  • Calculation of building floor area for each parcel:
    • Algorithmic principles:
      • data

        Original building data and parcel data.

      • req

        Building data requires a field representing height.

      • step1

        Extracting the building portions that overlap with parcels (red areas).

      • step2

        Calculating the number of floors based on height and obtaining the building area by multiplying the building footprint area by the number of floors.

User Manual

1. Environments

  • python 3.x
  • geopandas

2. Data Preparation

  • Data Preparation

3. Configure config/static_vars.py

  • Configure the paths of the data you want to use. You can comment out or ignore the data that is not needed.

4. After modifying the file paths, run the corresponding functions in main.py

  • POI Coverage Rate: Execute the poi_coverage() function and input the corresponding parameters.
  • POI Count: Execute the poi_count() function and input the corresponding parameters.
  • Road Network Density: Execute the road_density() function and input the corresponding parameters.
  • AOI Area: Execute the aoi_area() function and input the corresponding parameters.
  • AOI Coverage Rate: Execute the aoi_coverage() function and input the corresponding parameters.
  • Building Roof Area: Execute the building_roof_area() function and input the corresponding parameters.
  • AOI Building Floor Area: Execute the building_floor_area() function and input the corresponding parameters.

Concat:

Feel free to email me: [email protected]

About

🏘 Urban Renewal Indicator Calculator: Coverage Rate, Buffer Zone, Road Network Building Density, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages