# Proximity Analysis with ArcPy
Perform spatial proximity analysis using ArcPy with ease. This package provides a Python class `proximity` tailored for analyzing spatial relationships in GIS data, specifically designed for Urban Institute's Quality of Life (QOL) spatial variables.
## Installation
Install `proximityuri` from PyPI using pip:
pip install proximityui
## Usage
import proximityuri as P
# Example usage:
prox_analysis = P.proximity('TaxData2023', 'Pharmacy2024')
# Merge additional pharmacy data
prox_analysis.merge('Pharmacy', 'PharmacyUnmatched')
# Add a new field for residential proximity to pharmacy
prox_analysis.addfield('ResNearPharmacy')
# Summarize the results
prox_analysis.summarize('r', 'd', ProjectGDB)
# Export summarized results to a text file
prox_analysis.exporttxt(path, 'QOL_46_2023.txt')
## Methods
__init__(self, tax_parcel_feature_class, proximity_feature_class): Initialize the proximity class with the tax parcel feature class and proximity feature class.
merge(self, *feature_classes_to_be_merged): Merge proximity feature classes from multiple sources into one feature class for analysis.
addfield(self, new_field_name): Add a new field to the tax parcel feature class.
summarize(self, near_residential_output_table, housing_units_table, geodatabase): Summarize residential units near the proximity feature class and export results to a geodatabase.
exporttxt(self, output_directory, final_txt_name): Export summarized results to a text file in the specified directory.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/ProvidenceAdu/ProximityUI",
"name": "UIProximity",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "urban institute, python, QOL, quality of life explorer",
"author": "Providence Adu,Ph.D.",
"author_email": "<padu@charlotte.edu>",
"download_url": "https://files.pythonhosted.org/packages/0d/ef/fa075313507d04c0dad643182deb966c02c231f20e4a60cad777c3804aa5/UIProximity-1.0.tar.gz",
"platform": null,
"description": "# Proximity Analysis with ArcPy\n\nPerform spatial proximity analysis using ArcPy with ease. This package provides a Python class `proximity` tailored for analyzing spatial relationships in GIS data, specifically designed for Urban Institute's Quality of Life (QOL) spatial variables.\n\n## Installation\n\nInstall `proximityuri` from PyPI using pip:\n\npip install proximityui\n\n## Usage\n\nimport proximityuri as P\n\n# Example usage:\nprox_analysis = P.proximity('TaxData2023', 'Pharmacy2024')\n\n# Merge additional pharmacy data\nprox_analysis.merge('Pharmacy', 'PharmacyUnmatched')\n\n# Add a new field for residential proximity to pharmacy\nprox_analysis.addfield('ResNearPharmacy')\n\n# Summarize the results\nprox_analysis.summarize('r', 'd', ProjectGDB)\n\n# Export summarized results to a text file\nprox_analysis.exporttxt(path, 'QOL_46_2023.txt')\n\n## Methods\n\n__init__(self, tax_parcel_feature_class, proximity_feature_class): Initialize the proximity class with the tax parcel feature class and proximity feature class.\n\nmerge(self, *feature_classes_to_be_merged): Merge proximity feature classes from multiple sources into one feature class for analysis.\n\naddfield(self, new_field_name): Add a new field to the tax parcel feature class.\n\nsummarize(self, near_residential_output_table, housing_units_table, geodatabase): Summarize residential units near the proximity feature class and export results to a geodatabase.\n\nexporttxt(self, output_directory, final_txt_name): Export summarized results to a text file in the specified directory.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "library code execute various proximity analyses using ArcPy",
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/ProvidenceAdu/ProximityUI"
},
"split_keywords": [
"urban institute",
" python",
" qol",
" quality of life explorer"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9a55c78ba5a429031b653f7f9b05d2dde9c50895b6cbe594889a73ae1f14616a",
"md5": "d8dc49bfe0a1d401590fa61c25c99102",
"sha256": "9ce5fbe75e9a7914e0c8dd5eaded52d0925448ed26ec6526b75f2661351600df"
},
"downloads": -1,
"filename": "UIProximity-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d8dc49bfe0a1d401590fa61c25c99102",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5647,
"upload_time": "2024-07-17T19:09:54",
"upload_time_iso_8601": "2024-07-17T19:09:54.749947Z",
"url": "https://files.pythonhosted.org/packages/9a/55/c78ba5a429031b653f7f9b05d2dde9c50895b6cbe594889a73ae1f14616a/UIProximity-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0deffa075313507d04c0dad643182deb966c02c231f20e4a60cad777c3804aa5",
"md5": "be5c3f933d53f1d85a18eae7a675aa5b",
"sha256": "1bae436c1dceb919dd028088837ee9eac2313eda4e8c928392abd0f881375049"
},
"downloads": -1,
"filename": "UIProximity-1.0.tar.gz",
"has_sig": false,
"md5_digest": "be5c3f933d53f1d85a18eae7a675aa5b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4949,
"upload_time": "2024-07-17T19:09:56",
"upload_time_iso_8601": "2024-07-17T19:09:56.225459Z",
"url": "https://files.pythonhosted.org/packages/0d/ef/fa075313507d04c0dad643182deb966c02c231f20e4a60cad777c3804aa5/UIProximity-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-17 19:09:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ProvidenceAdu",
"github_project": "ProximityUI",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "uiproximity"
}