This library executes impervious surface analysis for the Quality of Life Exporer dashboard
Project description
Impervious Surface Analysis
This package provides a Python class impervious
tailored for analyzing impervious surface using ArcPy. The class is designed for Urban Institute's Quality of Life (QOL) variables.
Installation
Install qolimpervious
from PyPI using pip:
pip install qolimpervious
Usage
import pandas
as pd
import arcpy
import qolimpervious
as qi
I = qi.impervious('Singlefamily_Impervious_2023','Commercial_Impervious_2023','Impervious2023')
I.intersect('NPA2023','IntersectImpervious2023')
I.exportcsv(path,'QOL_04_2023.csv')
Methods
impervious
This class executes impervious surface analysis for Urban Institute's QOL Variables.
__init__(self, residential, commercial, UnionOutputname)
-
residential: The residential landuse featureclass.
-
commercial: The commercial landuse featureclass.
-
UnionOutputname: Name of output featureclass for the union analysis.
union(self)
Unions the residential and commercial feature classes used for computing the total impervious surface in the city.
dissovle(self)
Adds a field to the Union feature class, calculates the field as 0, and dissolves the Union Feature class using the added field.
intersect(self, NPAFeatureclass, IntersectOutput)
NPAFeatureclass: The NPA feature class.
IntersectOutput: The output name for the intersect analysis.
Performs the intersect analysis and calculates the area of intersected features.
exportcsv(self, OutputDirectory, Filename)
-
OutputDirectory: The directory where the CSV file will be exported.
-
Filename: The name of the CSV file.
-
Exports the results of the impervious surface analysis as a CSV file.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qolimpervious-1.5.tar.gz
.
File metadata
- Download URL: qolimpervious-1.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8e9bd2196f41693cc310ee9328580a82dc0f26af44ec794bdad9ab3eb4a7b8d |
|
MD5 | b528faf9bac58e3867605f727990ad25 |
|
BLAKE2b-256 | 32ced2f6d20a17fda5bd1c974ea54d9aa477cc8c9c5f4e1479a5b97a6de998cb |
File details
Details for the file qolimpervious-1.5-py3-none-any.whl
.
File metadata
- Download URL: qolimpervious-1.5-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e18b06ad175bc26298fc09cef9e1e8ab4f44d9772277cd2b79c8055d48ee2279 |
|
MD5 | fd204ce3abef1ac5d780ba69f2bb4cac |
|
BLAKE2b-256 | 22700017b4f23da2330971a8202f427a85126bfb113a3f1bc39fb5d532f95b66 |