790 likes | 1.04k Views
Lecture 2:. Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts. Part 2. Spatial Data Structures By Austin Troy & Brian Voigt. Spatial Data Model . Features cartographic object Entities s patial location
E N D
Lecture 2: Part 1. Understanding Spatial Data Structures Part 2. Legend editing & choropleth mapping Part 3. Map layouts
Spatial Data Model • Features • cartographic object • Entities • spatial location • non-spatial properties
Vector • Points (no dimensions) • Lines, or “arcs” (1 dimension) or • Areas, or “polygons” (2 or 3 dimensions)
Introduction to GIS Point layer Examples: Stream gauge / wave buoy, stoplight, survey location / respondent, residence / business, etc. X,Y coordinates 5 3 4 1 3 2 2 4 1 0 1 2 3 4 5
Introduction to GIS Line (Arc) layer • Points define lines (arcs) Arc • Feature is the ARC, not the line segments Line segment • Arcs meet at the nodes Vertex Node Image source: ESRI Arc Info electronic help
Introduction to GIS Line (Arc) layer • Each point has a unique location
Lines (Arcs) Points Introduction to GIS Polygon layer • In a polygon layer, lines (arcs) define areas • Closed region • Boundaries: line segments • Area of homogenous phenomena
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.
Raster and Vector representations of the same terrain Raster: great for surfaces Vector: limited with surfaces
Vector vs. Raster: bounding Raster: bad with bounding Vector: boundary precision
Vector vs. Raster: Sample points Cancer rates across space
Raster and Vector • Analytic advantage and disadvantages • Technical advantages and disadvantages • Specific Usages • Tossups
Part 2. Legend editing, choropleth mappingBy Austin Troy & Brian Voigt
Mapping Attribute Data Two basic approaches for visually displaying attribute data: • Quantities approach • Category approach
Mapping Attribute Data Quantity approach: applies to numeric >> ordinal Category approach: text values; order is irrelevant
Mapping Attribute Data Quantity approach, example: population
Mapping Attribute Data Category approach, example: vegetation type
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?
Mapping Categories • Access layer properties: • right-click layer in the TOC • double-click layer in TOC • Symbology tab >>> Categories >>> Unique values • Set Value Field to desired attribute • Click the Add All Valuesbutton
Mapping Categories Often categories must be aggregated and redefined: this land use map had over 110 categories that were condensed to 12
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
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
Graduated Color • Layer Properties >>> Symbology >>> Quantities >>> Graduated colors • Set the Value field to desired attribute • In this case we choosemedian house value • It automatically assigns five classes for the data
Graduated Color The map shows high value housing with dark colors and low value housing with light colors
Graduated Color Same map, but this time with 3 classes
Graduated Color …and with 15 classes
Graduated Color These are the class breaks (based on the distribution of the data) Classification interface Classification method (default= Jenks) small large
Graduated Color • Classification Method: Equal Interval • What kind of data does this work for?
Graduated Color Here’s what the same distribution looks like with only 5 equal intervals.
Graduated Color • Data representing # of vacant structures • Potential problem(s) with this method of classification
Graduated Color This map of vacant properties tells us almost nothing, because almost all the records fall into the first class
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 varianceand maximize the between class variance
Graduated Color This map of vacant properties, made with Natural Breaks, is more intelligible
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
Graduated Color Map of vacant properties using the Quantile classification method
Graduated Color Graduated color can also be applied to points. Here are houses display by sales price Equal interval Natural breaks
Graduated Symbol In this case housing price is expressed by symbol size
Graduated Symbol The same thing can also be done with lines—for instance, traffic volumes
Introduction to GIS Symbol Styles We can also choose to “match to symbols in a palette” and then apply the “transportation.style” palette to the FCC, or road category, attribute in our roads layer Choose your style palette here Must click here to match Results in this map
Introduction to GIS Symbol Styles One 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. Includes many classes of industry standard symbols
Introduction to GIS Symbol Styles There 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