Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gavinr/stl-process-vacant-parcels
This script is used to merge the CSV of Vacant Parcels generated from the STL Vacancy Project and the official City of St. Louis Parcels Shapefile to enable mapping and visualization of the data.
https://github.com/gavinr/stl-process-vacant-parcels
arcgis maps open-data open-data-stl parcels st-louis stl stl-vacancy vacancy
Last synced: 3 days ago
JSON representation
This script is used to merge the CSV of Vacant Parcels generated from the STL Vacancy Project and the official City of St. Louis Parcels Shapefile to enable mapping and visualization of the data.
- Host: GitHub
- URL: https://github.com/gavinr/stl-process-vacant-parcels
- Owner: gavinr
- Created: 2018-12-12T05:47:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:29:08.000Z (about 2 years ago)
- Last Synced: 2024-12-16T22:12:10.501Z (6 days ago)
- Topics: arcgis, maps, open-data, open-data-stl, parcels, st-louis, stl, stl-vacancy, vacancy
- Language: Python
- Homepage: http://arcgis.com/apps/webappviewer/index.html?id=45e326c1532e4e87a3c2cdbea911dc7a
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STL Vacant Parcels
This script is used to merge the CSV of Vacant Parcels generated from the [STL Vacancy Project](https://www.stlvacancy.com/methods.html) and the official [City of St. Louis Parcels Shapefile](https://www.stlouis-mo.gov/data/parcels.cfm) to enable mapping and visualization of the data.
## The Map
[![screenshot](https://i.imgur.com/4Ehkqb8.png)](http://arcgis.com/apps/webappviewer/index.html?id=45e326c1532e4e87a3c2cdbea911dc7a)
## The Script
### Installation
1. Install Python 2.x
2. [Install pip](https://pip.pypa.io/en/stable/installing/)
3. `pip install pyshp`
4. `pip install requests`### Run
1. Open terminal, type `python main.py`
This will download the required data, generate the Shapefile, and save that Shapefile out to `tmp/prcl/modified`. You can then use this file in geospatial software like ArcGIS Pro or zip it up and upload it to a geospatial platform like ArcGIS Online.
### Notes
Arcade Expression used in the ArcGIS Web Map:
```
if($feature.VB_Final == 2) {
return "Vacant Building - Certain";
} else if($feature.VB_Final == 1) {
return "Vacant Building - Probable";
} else if($feature.VL_Final == 2) {
return "Vacant Lot - Certain";
} else if($feature.VL_Final == 1) {
return "Vacant Lot - Probable";
} else {
return "Other";
}
```## More Info
- https://chris-prener.github.io/vacancy/
- https://github.com/chris-prener/vacancy-data
- https://www.stlvacancy.com/methods.html