Skip to content

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.

Notifications You must be signed in to change notification settings

gavinr/stl-process-vacant-parcels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STL 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.

The Map

screenshot

The Script

Installation

  1. Install Python 2.x
  2. Install pip
  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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages