Skip to content

Tool for distributing cell/zonal attributes among contained features.

License

Notifications You must be signed in to change notification settings

JmsPae/GeoDistrib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoDistrib

Basic tool for distributing cell/zonal statistics among contained features based on a user defined weight attribute.

Requirements

  • GDAL Installation

Install

Unzip the repository to a folder of choice, then navigate to the base directory of the repo and run pip install .

Background

This little tool came about primarily to distribute population statistics from a population grid to individual building polygons for a simulation project. Population data per household is difficult to come by and I didn't need anything too precise so this seemed like a decent compromise.

Functionality

GeoDistrib is currently configured as a command line tool with basic functionality. You can either check the example folder or python3 -m geodistrib --help

What features receive the statistics/data from which source cell is currently decided by centroid.

Future

The present tool was designed (not really designed, but it sounds clever) for a very specific purpose at the time. At whilst that makes this a very simple tool, it has the potential to be modestly expanded in functionality.

The current plan is to add a json pipeline input, which lets the user define what and how the data from any number of fields will be distributed to any destination features.

About

Tool for distributing cell/zonal attributes among contained features.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages