final project for introduction to gis programming · introduction: california gnatcatcher small,...
TRANSCRIPT
![Page 1: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/1.jpg)
Final Project for Introduction to GIS Programming:
Krysta RogersGeography 375Spring 2011
Assessment of the proposed critical habitat for the threatened coastal California gnatcatcher (Polioptila californica californica)
Peter Knapp
![Page 2: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/2.jpg)
Introduction:California gnatcatcherSmall, non-migratory songbirdInhabits specific vegetation community called coastal sage scrubListed as threatened under the Endangered Species Act in 1993
Threats include: Loss of habitat due to development, exotic plants, & fireReproductive loss from invasive species (e.g. brown headed cowbird)
Richard Stern
![Page 3: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/3.jpg)
Introduction:Coastal sage scrubPlant community dominated by shrubs & other species adapted to arid conditions
California sage brush, sages, California buckwheat, redberry, lemonade-berry & cacti
90% decline from its original rangeThreats include urban development, agriculture, & population growth
University of California, Santa Barbara 2011
Less than 10% of remaining habitat is protected
![Page 4: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/4.jpg)
Introduction:Project goalsUse Python to evaluate the designated critical habitat for the California gnatcatcher in relation to a vegetation layer for Orange CountyIdentify coastal sage scrub habitat not included within the designated critical habitat developed by USFWS
![Page 5: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/5.jpg)
Methods:Original filesCalifornia gnatcatcher proposed critical habitat
ds131 – shapefileCalifornia counties
county100k – feature classOrange County vegetation
oraveg – feature classoraveg.lut – info tableoraveglookup – dBase table
![Page 6: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/6.jpg)
Methods:Data preparationArcCatalog, placed all the feature classes & shapefile into a single folder labeled “Data”Explored feature classes & shapefile in ArcMapDetermine field names for queries & how vegetation is named & coded
![Page 7: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/7.jpg)
Methods:Data preparationCounties layer into shapefile
CAcounties – shapefileCondensed vegetation layer into layer only including coastal sage scrub plant species
CoastalSageScrub – shapefileSageScrubCommunities – shapefile
Excluded “non-habitat” data from gnatcatcher critical habitat layer
cagn crithab – shapefile
![Page 8: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/8.jpg)
Methods:Data preparation
![Page 9: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/9.jpg)
Methods:Data preparation
![Page 10: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/10.jpg)
Methods:Python script developmentAdded import, arcpy, sys, traceback modulesIdentified workspaceAdded framework for try: & except: blocksIdentified file names for each process
![Page 11: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/11.jpg)
Methods:Python script development
import
try:
![Page 12: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/12.jpg)
Methods:Python script development
except:
![Page 13: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/13.jpg)
Methods:Python script development
File names
![Page 14: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/14.jpg)
Methods:Python script developmentDeveloped script
Make Feature Layer for countiesQuery Orange County
Clip for critical habitat by Orange CountyErase analysis to evaluate habitat outside of critical habitatAdd Join to add lookup table to vegetation layer
IndexSave to Layer
![Page 15: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/15.jpg)
Methods:Python script developmentMake Feature Layer for counties
Make Feature Layer, Query, & Select by Attribute
![Page 16: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/16.jpg)
Methods:Python script developmentClip for critical habitat by Orange County
Clip
![Page 17: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/17.jpg)
Methods:Python script developmentErase analysis to evaluate habitat outside of critical habitat
Erase
![Page 18: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/18.jpg)
Methods:Python script developmentChecked script for errors
![Page 19: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/19.jpg)
Methods:Python script developmentFixed the errors & re-ran the code
![Page 20: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/20.jpg)
Methods:Preliminary results in ArcMapLooked at the resulting layers in ArcMap
![Page 21: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/21.jpg)
Methods:Python script developmentAdd Join to add lookup table to vegetation layer
Add Join
![Page 22: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/22.jpg)
Methods:Python script developmentRan script again, error – need to add an index before performing the Add Join
![Page 23: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/23.jpg)
Methods:Python script developmentResearched the Add Index routine
![Page 24: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/24.jpg)
Methods:Python script developmentAdd Index, Add Join, & Save To Layer to make join permanent
Add Index, Add Join, & Save To Layer
![Page 25: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/25.jpg)
Methods:Python script developmentRan script, no errors!
![Page 26: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/26.jpg)
Results:ArcMapFiles produced in ArcMap for use in Python
CACountiescagn_crithabCoastalSageScrubSageScrubCommunities
![Page 27: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/27.jpg)
Results:PythonFiles produced in Python
cagn_crithab_clip.shpOrange_County.shpscrub_outside_crithab.shpscrub_table_join
![Page 28: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/28.jpg)
Discussion:Lessons learnedTackled this project with a step-by-step approachParceled out input/output file names for each processUtilized help files & class materials for referenceLook for syntax errors, misspellings, & incorrect path names
![Page 29: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage](https://reader033.vdocuments.us/reader033/viewer/2022042316/5f0537e27e708231d411de13/html5/thumbnails/29.jpg)
Discussion:Critical habitatCoastal sage scrub habitat does exist outside the designated critical habitat for the California gnatcatcherWarrants monitoring to determine if habitat might be utilized by gnatcatchers in the future
Peter Gallagher