GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

75
GIS Primer for Landscape Ecology Ben Best Jan 8, 2015

Transcript of GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Page 1: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

GIS Primer for Landscape Ecology

Ben BestJan 8, 2015

Page 2: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

GIS: Layers of Data

A geographic information system (GIS) integrates hardware, software, and data for capturing, managing, analyzing, and displaying all forms of geographically referenced information.

GIS allows us to view, understand, question, interpret, and visualize data in many ways that reveal relationships, patterns, and trends in the form of maps, globes, reports, and charts.

GIS first termed by Roger Tomlinson (1968) A Geographic Information System for Regional Planning

Page 3: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

History

First “GIS”: John Snow’s 1855 map of 1854 cholera outbreak in London spatially related to wells. Epidemiology.

THEN NOW

Page 4: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Outline

• Projections• Data• ArcGIS Applications– Browse with ArcCatalog– Map with ArcMap– Model with Model Builder (geoprocessing)– Editing

Page 5: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Georeferencing

Page 6: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Spherical Earth

Page 7: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Geographic Coordinate System

Page 8: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Cartesian Coordinates

Page 9: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Map ProjectionsGeographic to Projected Coordinate System

Unlike a geographic coordinate system, a projected coordinate system has constant lengths, angles, and areas across the two dimensions. However, all map projections representing the earth's surface as a flat map create distortions in some aspect of distance, area, shape, or direction.

Page 10: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.
Page 11: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Visualizing Distortion of ProjectionsTissot’s Indicatrix

view from space of geographic coordinate system

Distortions, at least 1 or more:• Distance• Angle• Area

Page 12: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Equal Angle or Area

Conformal (preserved angle, distorted area): Mercator

Equal area (distorted angle): Mollweide

Page 13: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Compromise Projection

Compromise projection (vary in size, shape, angle): Winkel Tripel

Oblique Mercator

Page 14: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Why are We changing the Maps?

http://www.youtube.com/watch?v=vVX-PrBRtTY

“Because … the Mercator projection has fostered European imperialist attitudes for centuries and created an ethnic bias against the Third World….” says the Organization of Cartographers for Social Equality [West Wing season 2, episode 16]

Page 15: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Why are We changing the Maps?“Because … the Mercator projection has fostered European imperialist attitudes for centuries and created an ethnic bias against the Third World….” says the Organization of Cartographers for Social Equality [West Wing season 2, episode 16]

Mercator Galls-Peters

Page 16: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Geodesic Distance, Area & Buffergeodesic = shortest distance along surface of a geoid (aka spheroid)New to ArcGIS 10.1, so often do not need to project layers from geographic.

Page 17: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Geodesic Real World Example

“Ranges” for missiles launched from North Korea

Originally published map in major newspaper

Updated true buffer distance map (2 weeks later)

Page 18: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Common Data Types

Geodatabase

Vector

Imagery

*.shp - shapefile(*.dbf, *.shx…)

*.gdb folder

*.tif - GeoTIFF

*.dbf – dbase

Most commonfile extensions:

Page 19: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Table Basics

• Rows, Columns

• Data types: integer, float, character, date

• Relationships

Page 20: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Table RelationshipsOne to One: Join

One to Many: Relate

Page 21: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Feature Classes (aka Vector)

Page 22: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Vector: Multipart

Page 23: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Vector

Page 24: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Vector: Tolerance

Influences snapping behavior between vertices when editing or performing spatial analysis.

Page 25: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Vector: Topology

linear features connected, eg water network

Polygon features share edgesCan be explicitly handled during editing of feature classes in geodatabase, but only implicitly with shapefile tolerances. Legacy of “coverages”.

Topology: sharing of edges, boundaries, nodes amongst features.

Page 26: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Raster

“Raster is faster, but vector is corrector.”

Page 27: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Raster

Page 28: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Raster Uses

Page 29: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Raster: Bands

Page 30: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Extending Rasters

• Mosaic Datasets• Raster Catalogs

Time seriesAny series

Page 31: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

NetCDFmultidimensional scientific data formatdeveloped open source by climate scientist community

Page 32: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Triangulated Irregular Network (TIN)

TINs are much less common than other formats, but sometimes used as a simplified representation of a raster surface.

Page 33: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Geodatabases (gdb)

• Personal geodatabase– Single file Microsoft Access database (*.mdb) with spatial

tables, so Query wizard– 2 GB / db– Only Windows

• File geodatabase (recommended)– Folder (*.gdb) of files– 1 TB / dataset, 256 TB / image– Cross platform

• Enterprise geodatabase– Complex, multi-user environments– MS SQL Server, Oracle, PostgreSQL

Page 34: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcGIS Desktop

ArcCatalog(Model Builder)

ArcMapArcSceneArcGlobe

ArcCatalog

Licensing:• ArcInfo (most)• ArcEditor• ArcView (least)

Page 35: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcCatalogLike Windows Explorer for your spatial data files.

Page 36: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Connect to Folder, RefreshHave to Connect to Folder before being able to browse.

Often need to refresh to see newly generated layers

Page 37: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Items in Catalog tree

Page 38: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcCatalog: Preview pane

Page 39: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcCatalog: Description pane= Metadata

Page 40: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcCatalog: Create New Data

Page 41: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Setup Map Document (*.mxd)

• Default geodatabase• Relative pathnames recommended!

Page 42: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcMap: Data View

Page 43: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcMap: Layout View for printing

Page 44: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Add LayersAdd Data button for accessing local data or drag from Catalog window

Note: you need to have the folder “connected” first before being able to browse.

Page 45: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Add LayersAdd data arrow, Add data from ArcGIS Online

Page 46: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Table of Contents: Layer Symbology

Page 47: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Layer Properties: Symbology

Page 48: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Layer Symbology

Page 49: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Layer Symobology

Page 50: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Layer Symobology

Page 51: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Layer subset: Definition Query

Page 52: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Identifying features

• Click on the Identify tool

Page 53: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Select Features Interactively

Page 54: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Select Features by AttributeClick Selection > Select By Attributes

Standard Query Language (SQL)

Page 55: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Select Features by LocationClick Selection > Select By Location

Page 56: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Cartography

Page 57: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcMap: Data View

Page 58: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

ArcMap: Layout View for printing

Page 59: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Layout editing and printing

Page 60: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Add an Extent Indicator Map

Use multiple

data frames in a single Layout view

Page 61: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Geoprocessing

Iterate

• Identify Goal / Question. • Prep Data.• Model. Build the analysis model (typically performed

using geoprocessing, but could be as simple as a few mouse clicks in ArcMap). Execute the model and generate results.

• Visualize. Explore, evaluate, chart, summarize, interpret, visualize, understand, and analyze the results. Make decisions and articulate your conclusions.

Page 62: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Geoprocessing: common tasks• Reprojecting a dataset from one coordinate system to another

• Adding a field to a table

Page 63: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Geoprocessing: common tasks• Generating buffer zones around features

• Overlaying multiple sets of polygons

… http://resources.arcgis.com/en/help/main/10.1/index.html#/An_introduction_to_the_commonly_used_GIS_tools/018p00000002000000 /

Page 64: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Finding Tools1. Some in Geoprocessing menu found on the Standard toolbar2. Search window

Page 65: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Finding Tools1. Some in Geoprocessing menu found on the Standard toolbar2. Search window 3. Browse in the Catalog window

Page 66: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Finding Tools1. Some in Geoprocessing menu found on the Standard toolbar2. Search window 3. Browse in the Catalog window4. Browse in the ArcToolbox window

Page 67: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Tool dialog and results

Page 68: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Models & ModelBuilder

Model > Export > To Python Script

Scientific Workflow• Repeatable• Updatable• Easy to read

Page 69: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Environment Settings

Settings used varies by tool. For instance, with Polygon to Raster tool:• Snap raster• Cell size• Output Coordinate

System• Extent

Page 70: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Python WindowRun from the Python window

Advantages: easily repeatable, simple text

Page 71: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Tip: use Python Snippets1. Use tool dialog to run.2. Once finished, right-

click in Results window click Copy As Python Snippet.

3. Paste into text file with your Python code.

arcpy.Clip_analysis("E:/Example.gdb/streets", "E:/Example.gdb/StudyArea”, "E:/Example.gdb/streets_Clip","#")

Page 72: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Add Spatial Analyst ExtensionClick Customize > Extensions from the main menu in any ArcGIS application.

Page 73: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Editing

Page 74: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

EditingAdd the Editor toolbar

Page 75: GIS Primer for Landscape Ecology Ben Best Jan 8, 2015.

Editing