In this series we're going to be looking at using tree data for public health analysis. The goal is present a series of methods for processing, analyzing, and curating public health data using trees as the population, and various insults such as blights, pestilence, etc... as the diseases.
This methodology alleviates the need to address HIPAA concerns and allows us to create a public repository of data and methods for hands-on training.
For our initial repository we're pulling from trees from https://opendata.charlottesville.org/datasets/tree-inventory-point and the structure data available here https://opendata.charlottesville.org/datasets/existing-structure-area
Quick look at data in QGIS
First get the data - here's a link to the GEOJSON
import it in to qgis - click on the first icon on the top left - select protocol https: and then set the type to GEOJSON and paste the link in there
First we need to filter the content to "Ash" trees
"Common_Name" LIKE '%Ash%' is the filter to use - currently should return 109 values
Testing proximity is done with the "Vector->geoprocessing tools -> buffer" tool -
.00005 degrees is roughly 5 meters - and then we'll also test .0001 for 10 meters
the image should look like this and there should be a layer called "buffer" available in the left side layer menu
now to see what trees are within 5m of a building go to "Vector->Research Tools->Select by Location"
uh-oh! there were errors in the geometries! to ignore that and move on follow the instructions here https://gis.stackexchange.com/questions/289056/ignoring-invalid-input-features-with-intersection-tool-in-qgis and
Once that's done you should see some items on the screen highlight to bright yellow
Next right click on the buffered layer and save the selected points!
This will create the new layer that has all of the relevant data
Claude Moore Health Sciences Library
1350 Jefferson Park Avenue P.O. Box 800722
Charlottesville, VA 22908 (Directions)
Contact UsStaff Directory(434) 924-5444Feedback
© 2020 by the Rector and Visitors of the University of VirginiaCopyright & Privacy