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.
- Install Python 2.x
- Install pip
pip install pyshp
pip install requests
- 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.
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";
}