introduction to gis lecture 2: part 1. understanding spatial data structures part 2. legend editing...

75
Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Upload: aron-pope

Post on 17-Dec-2015

231 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Lecture 2:Part 1. Understanding Spatial Data

Structures

Part 2. Legend editing & choropleth mapping

Part 3. Map layouts

Page 2: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Part 2. Spatial Data Structures

By Austin Troy & Brian Voigt

Page 3: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Spatial Data Model

• Features– cartographic object

• Entities– spatial location– non-spatial properties

Page 4: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Page 5: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

• Points (no dimensions)• Lines, or “arcs” (1 dimension) or• Areas, or “polygons” (2 or 3 dimensions)

Vector

Page 6: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Point layerX,Y coordinates

Introduction to GIS

0 5

1

1 2 3 4

2

3

4

5 Point ID Location

1 4,3

2 2,2

3 1,4

4 4,1

1

2

3

4

Examples: Stream gauge / wave buoy, stoplight, survey location / respondent, residence / business, etc.

Page 7: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Line (Arc) layer• Points define lines (arcs)

Introduction to GIS

Image source: ESRI Arc Info electronic help

Line segment

Vertex

Node

• Feature is the ARC, not the line segments• Arcs meet at the nodes

Arc

Page 8: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Line (Arc) layer• Each point has a unique location

Introduction to GIS

Page 9: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Polygon layer• In a polygon layer, lines (arcs) define areas

Introduction to GIS

Lines (Arcs)

Points

• Boundaries: line segments

• Area of homogenous phenomena

• Closed region

Page 10: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Raster

• Grids, or pixels• Cell size is constant• Area of each cell defines the resolution • Raster files store only one attribute, in the

form of a “z” value, or grid code.

Page 11: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Raster and Vector representations of the same terrain

Raster: great for surfaces Vector: limited with surfaces

Page 12: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Raster and Vector representations of the same

land use:

Page 13: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Vector vs. Raster: bounding

Raster: bad with bounding Vector: boundary precision

Page 14: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Vector vs. Raster: Sample pointsCancer rates across space

Page 15: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Vector / Raster RepresentationPoints

Page 16: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Vector / Raster RepresentationLines

Page 17: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Vector / Raster RepresentationPolygons

Page 18: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

WHEN TO USE RASTER OR VECTOR???

Page 19: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

•Raster and Vector

• Analytic advantage and disadvantages• Technical advantages and disadvantages• Specific Usages• Tossups

Page 20: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Part 2. Legend editing, choropleth mapping

By Austin Troy & Brian Voigt

Page 21: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping Attribute Data

Two basic approaches for visually displaying attribute data:

1. Quantities approach

2. Category approach

Page 22: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping Attribute Data

Quantity approach: applies to numeric >> ordinal

Category approach: text values; order is irrelevant

Page 23: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping Attribute Data

Quantity approach, example: population

Page 24: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping Attribute Data

Category approach, example: vegetation type

Page 25: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping Categories

Examples: vegetation types, land use, soil types, geology types, forest types, party voting maps, land management agency, recategorizations of numeric data (“bad, good, best” or “low, medium, high’). Can you think of any others?

Page 26: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping Categories

• Access layer properties: 1. right-click layer in the TOC

2. double-click layer in TOC

• Symbology tab >>> Categories >>> Unique values

• Set Value Field to desired attribute

• Click the Add All Values button

Page 27: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping Categories

Page 28: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Mapping CategoriesOften categories must be aggregated and redefined: this land use

map had over 110 categories that were condensed to 12

Page 29: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Grouping Categories

In this case 1262, 1263, 1264, 1265, etc. refers to different subcategories of commercial land use

Can then save symbology as .lyr or in .mxd

Page 30: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Quantity Mapping

Also known as “choropleth mapping”• For points, lines and polygons: graduated color,

or color ramping• For lines and points can also do graduated

symbol

Page 31: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color

• Layer Properties >>> Symbology >>> Quantities >>> Graduated colors

• Set the Value field to desired attribute• In this case we choose median house

value• It automatically assigns

five classes for the data

Page 32: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated ColorThe map shows high value housing with dark

colors and low value housing with light colors

Page 33: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated ColorSame map, but this time with 3 classes

Page 34: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color…and with 15 classes

Page 35: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color Classification

interfaceThese are the class breaks (based on the distribution of the data)

largesmall

Classification method (default= Jenks)

Page 36: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color

• Classification Method: Equal Interval

• What kind of data does this work for?

Page 37: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated ColorHere’s what the same

distribution looks like with only 5 equal intervals.

Page 38: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color

• Data representing # of vacant structures

• Potential problem(s) with this method of classification

Page 39: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color

This map of vacant properties tells us almost nothing, because almost all the records fall into the first class

Page 40: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color• Natural Breaks: Notice

how there are now more classes on the left side, where most of the data are.

• Minimize each class’s average deviation from the class mean, while maximizing each class’s deviation from the means of the other groups

• Reduce the within class variance and maximize the between class variance

Page 41: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color

This map of vacant properties, made with Natural Breaks, is more intelligible

Page 42: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color

Quantile method: sets the class boundaries so as to maximize the perceived variation in the map; equal number of data points in each class

Page 43: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated Color

Map of vacant properties using the Quantile classification method

Page 44: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated ColorGraduated color can also be applied to points.

Here are houses display by sales price

Natural breaks Equal interval

Page 45: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated SymbolIn this case housing price is expressed by symbol size

Page 46: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Graduated SymbolThe same thing can

also be done with lines—for instance, traffic volumes

Page 47: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Symbol StylesWe can also choose to “match to symbols in a palette” and then

apply the “transportation.style” palette to the FCC, or roadcategory, attribute inour roads layer

Introduction to GIS

Results in this map

Must click here to match

Choose your style palette here

Page 48: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Symbol Styles

Page 49: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Symbol StylesOne could also manually create symbol styles for each street type.

Clicking on each symbol in either the TOC or properties windows brings up a manual symbol selector. You can assign a separate one to each category.

Introduction to GIS

Includes many classes of industry standard symbols

Page 50: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Symbol StylesThere are also a huge variety of industry-specific point symbols

that can be either assigned through matching symbols to a predefined style or manually assigning those symbols

Introduction to GIS

Page 51: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Displaying ChartsAttributes for point, line or polygon features can also be

displayed as charts on the map

Introduction to GIS

Page 52: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

NormalizationShow an attribute normalized by another attribute or

expressed as a percentage of total. Here we have number of vacancies per tract as a percentage of total households.

Introduction to GIS

numerator

denominator

Page 53: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Layer Files

Introduction to GIS

• Save symbology and setting

• Primarily for saving legend setting

• Opening a layer file will open the data layer with all the preferences saved

• With an extension .lyr

Page 54: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Layer Files

Introduction to GIS

• Use layer files when you have lots of non-numeric categories

Page 55: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Layer Files

Introduction to GIS

• Create a layer file in ArcCatalog

Page 56: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Layer Files

Introduction to GIS

• Create a layer file in ArcMap

Page 57: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Layer Files

Introduction to GIS

• Import a layer file’s symbology in properties

Page 58: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Part 3. Map Layouts

By Brian Voigt and Austin Troy

Page 59: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout• You can create a map for layout in Arc GIS

by selecting View >>> Layout view.• Layouts are designed to be cartographically

acceptable, which means they must have the key elements of a printed map, such as scale bars, north arrows, legends and titles

• These can be added from the Insert menu

Page 60: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GISIntroduction to GIS

Map Compilation

Map?X

What’s missing?

Page 61: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GISIntroduction to GIS

Title

Legend

Neatline

North arrow

Scale bar

Notes

Data frame

Map Compilation

Page 62: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GISIntroduction to GIS

Map Compilation• Geographic features

• Other map elements– Legend– Title– North arrow– Scale bar– Author– Neatline– Source of data– Other objects…

Page 63: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout: Data frame• Create a new view or “Data Frame” in

ArcMap

Introduction to GIS

Page 64: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

ArcMap: Data Frame• More than one frame can be shown in layout view

Introduction to GIS

Frame 1

Frame 2

Page 65: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Data Frames: Context

Page 66: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Data Frames: Inset maps

Page 67: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Layouts: Data frame• Access and edit data frame properties

Introduction to GIS

Page 68: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout: Map Legend

Page 69: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout: Map Legend

Introduction to GIS

• Legends editing: Items

Page 70: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Insert Legend Title

Map Layout: Map Legend

Page 71: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout: Map LegendEditing legend item type

Page 72: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout: Map Legend

Introduction to GIS

• Legends editing: Size and position

Size&Position

Page 73: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout: North Arrows

Page 74: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

Map Layout: Scale Bar

Page 75: Introduction to GIS Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts

Introduction to GIS

MXD Files

Introduction to GIS

• Project files– Save your layout

– All other preferences

– Data is not included

– With an extension .mxd

• File >>> Save (As)