+ All Categories
Home > Documents > Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small,...

Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small,...

Date post: 11-Jun-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
29
Final Project for Introduction to GIS Programming: Krysta Rogers Geography 375 Spring 2011 Assessment of the proposed critical habitat for the threatened coastal California gnatcatcher (Polioptila californica californica) Peter Knapp
Transcript
Page 1: Final Project for Introduction to GIS Programming · Introduction: California gnatcatcher Small, non-migratory songbird Inhabits specific vegetation community called coastal sage

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Recommended