+ All Categories
Home > Documents > Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of...

Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of...

Date post: 01-Jan-2016
Category:
Upload: gabriella-henry
View: 221 times
Download: 2 times
Share this document with a friend
Popular Tags:
30
Introduction to GIS Modeling Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver GEOG 3110 –University of Denver Suitability Modeling Logic Suitability Modeling Logic Reclassifying Maps Reclassifying Maps (position, initial value, size, shape and (position, initial value, size, shape and contiguity) contiguity) Overlaying Maps Overlaying Maps (point-by-point, region-wide and map-wide) (point-by-point, region-wide and map-wide) Presented by Presented by Joseph K. Berry Joseph K. Berry W. M. Keck Scholar, Department of Geography, University of W. M. Keck Scholar, Department of Geography, University of Denver Denver
Transcript
Page 1: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Introduction to GIS ModelingIntroduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps Week 3 — Reclassifying and Overlaying Maps

GEOG 3110 –University of DenverGEOG 3110 –University of Denver

Suitability Modeling LogicSuitability Modeling LogicReclassifying Maps Reclassifying Maps (position, initial value, size, shape and contiguity)(position, initial value, size, shape and contiguity)

Overlaying Maps Overlaying Maps (point-by-point, region-wide and map-wide)(point-by-point, region-wide and map-wide)

Presented byPresented by Joseph K. BerryJoseph K. BerryW. M. Keck Scholar, Department of Geography, W. M. Keck Scholar, Department of Geography,

University of DenverUniversity of Denver

Page 2: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Display Settings for Grid-based MapsDisplay Settings for Grid-based Maps

(Berry)

<Exercise 3 <Exercise 3 Question #1Question #1>>

Let’s look at some example displays in the Let’s look at some example displays in the Bighorn.rgsBighorn.rgs data base… data base…

Page 3: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Reclassify and Overlay OperationsReclassify and Overlay Operations

(Berry)

<Exercise 3 <Exercise 3 Question #2Question #2>>

<Exercise 3 <Exercise 3 Question #3Question #3>>

CovertypeCovertype(Input map)

Covertype_sizeCovertype_size(Output map)

SizeSize(Command)

SIZE Covertype FOR Covertype_sizeSIZE Covertype FOR Covertype_size

…make sure your map display is “appropriate” –not simply the default

Page 4: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Optional QuestionsOptional Questions

(Berry)

3-1)3-1) Flowchart of Binary Habitat Model Flowchart of Binary Habitat Model

3-2) 3-2) “Simply” and “Completely” Crosstab Tables“Simply” and “Completely” Crosstab Tables

3-3)3-3) Average Suitability Rating for Average Suitability Rating for eacheach Covertype parcel Covertype parcel

3-4)3-4) Average Fuel Loading index for each DistrictAverage Fuel Loading index for each District

3-5)3-5) Average and Coefficient of Variation maps for the Average and Coefficient of Variation maps for the 200 foot contour polygons of Elevation200 foot contour polygons of Elevation

Page 5: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Evaluating Habitat SuitabilityEvaluating Habitat Suitability

(Berry)

Manual Map OverlayManual Map Overlay(Binary)(Binary)

Ranking OverlayRanking Overlay(Binary Sum)(Binary Sum)

Rating OverlayRating Overlay(Rating Average)(Rating Average)

Generating maps of animal habitat…Generating maps of animal habitat…

(digital slide show Hugag)(digital slide show Hugag)

AssumptionsAssumptions – Hugags like…– Hugags like… gentle slopes, gentle slopes, southerly aspects, and southerly aspects, and lower elevationslower elevations

<Exercise 3 <Exercise 3 Question #4Question #4>>

(See Beyond Mapping III online book, “Topic 23” for more information)(See Beyond Mapping III online book, “Topic 23” for more information)

Page 6: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

CovertypeWaterMask

0= No, 1= Yes

HabitatRating

0= No, 1 to 9 Good

Constraint MapConstraint Map

SolutionSolutionMapMap

HabitatRating

Bad 1 to 9 Good

(Times 1)(Times 1)

(1)(1)

(1)(1)

Conveying Suitability Model LogicConveying Suitability Model Logic

(Berry)(See Beyond Mapping III online book, “Topic 22” for more information)(See Beyond Mapping III online book, “Topic 22” for more information)

Interpreted Interpreted MapsMaps

gentle slopesgentle slopes

SlopePreference

Bad 1 to 9 Good

AspectPreference

Bad 1 to 9 Good

ElevationPreference

Bad 1 to 9 Good

southerly aspectssoutherly aspects

lower elevationslower elevations

Derived MapsDerived Maps

Slope

Aspect

Base MapsBase Maps

Elevation

Elevation

Elevation

FactFact JudgmentJudgment

CalibrateCalibrateAlgorithmAlgorithm WeightWeight

Reclassify

Reclassify

Reclassify

Reclassify

Overlay

Overlay

……while while ReclassifyReclassify

and and OverlayOverlay commands are not very commands are not very exciting, they are some exciting, they are some of the most of the most

frequently used frequently used operationsoperations

RowsRows Model Criteria Model Criteria

ColumnsColumns Analysis Analysis LevelsLevels

LinesLines

Processing StepsProcessing Steps (Commands)(Commands)

Page 7: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Extending Model CriteriaExtending Model Criteria

(Berry)

Additional criteria can be Additional criteria can be added…added…

forestsforests

ForestPreference

Bad 1 to 9 Good

ForestProximity

Forests

—Hugags would prefer to Hugags would prefer to bebe in/near forested areas in/near forested areas

waterwater

WaterPreference

Bad 1 to 9 Good

WaterProximity

Water

—Hugags would prefer to Hugags would prefer to bebe near water near water

—Hugags are Hugags are 10 times 10 times more concerned more concerned with slope, with slope, forest and water criteriaforest and water criteria than aspect and elevationthan aspect and elevation

(Times 10)(Times 10)

(10)(10)

(10)(10)

(1)(1)

(1)(1)

HabitatRating

Bad 1 to 9 Good

gentle slopesgentle slopes

SlopePreference

Bad 1 to 9 Good

AspectPreference

Bad 1 to 9 Good

ElevationPreference

Bad 1 to 9 Good

southerly aspectssoutherly aspects

lower elevationslower elevations

Slope

Aspect

Elevation

Elevation

Elevation

RowsRows Model Criteria Model Criteria

ColumnsColumns Analysis Analysis LevelsLevels

LinesLines

Processing StepsProcessing Steps (Commands)(Commands)

Page 8: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Grid-Based Map AnalysisGrid-Based Map Analysis

Spatial analysisSpatial analysis investigates the “contextual” relationships in mapped data…investigates the “contextual” relationships in mapped data…

ReclassifyReclassify— — reassigning map values (position; value; size, shape; contiguity) reassigning map values (position; value; size, shape; contiguity) OverlayOverlay— — map overlay (point-by-point; region-wide; map-wide)map overlay (point-by-point; region-wide; map-wide) DistanceDistance— proximity and connectivity (movement; optimal paths; visibility)— proximity and connectivity (movement; optimal paths; visibility) NeighborsNeighbors— — ”roving windows” (slope/aspect; diversity; anomaly)”roving windows” (slope/aspect; diversity; anomaly)

(Berry)(Berry)

Data miningData mining investigates the “numerical” relationships in mapped data…investigates the “numerical” relationships in mapped data…

DescriptiveDescriptive— — aggregate statistics (e.g., average/stdev, similarity, clustering)aggregate statistics (e.g., average/stdev, similarity, clustering) PredictivePredictive— — relationships among maps (e.g., regression)relationships among maps (e.g., regression) PrescriptivePrescriptive— — appropriate actions (e.g., optimization) appropriate actions (e.g., optimization)

Surface modelingSurface modeling maps the spatial distribution and pattern of point data…maps the spatial distribution and pattern of point data…

Map GeneralizationMap Generalization— — characterizes spatial trends (e.g., titled plane)characterizes spatial trends (e.g., titled plane) Spatial InterpolationSpatial Interpolation— — deriving spatial distributions (e.g., IDW, Krig)deriving spatial distributions (e.g., IDW, Krig) OtherOther— — roving window/facets (e.g., density surface; tessellation) roving window/facets (e.g., density surface; tessellation)

Spatial statisticsSpatial statistics

Weeks 3,4,5,6Weeks 3,4,5,6

Weeks 7,8,9Weeks 7,8,9

Page 9: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

……recall Map Analysis organization and evolution discussion recall Map Analysis organization and evolution discussion from Week 1 class presentation/reading from Week 1 class presentation/reading (GIS Modeling Framework paper)(GIS Modeling Framework paper)

An Analytic Framework for GIS ModelingAn Analytic Framework for GIS Modeling

(Berry)(Berry)

Reclassify operationsReclassify operations involve involve reassigning map values to reflect new reassigning map values to reflect new information about existing map featuresinformation about existing map features

Page 10: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Reclassifying MapsReclassifying Maps

(Berry)

Page 11: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Reclassifying MapsReclassifying Maps

(Berry)

<Homework <Homework Question #2Question #2>>

CLUMP -- Assigns new values to contiguous groups of cells within each map category.

CONFIGURE -- Assigns new values characterizing the shape of the area associated with each category.

RENUMBER -- Assigns new values to the categories of a map.

SIZE -- Assigns new values according to the size of the area associated with each map category.

SLICE -- Assigns new values by dividing the range of values on a map into specified intervals (contouring).

The most frequently used map analysis operation

…and the most dangerous!!!

ContiguityContiguity

ShapeShape

InitialInitialValueValue

SizeSize

InitialInitialValueValue

Page 12: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Renumber OperationRenumber Operation

(Berry)

RenumberRenumber— assigns new values to the categories of a map.— assigns new values to the categories of a map.

RENUMBER Elevation RENUMBER Elevation

ASSIGNING ASSIGNING 11 TO 500 THRU 1800 TO 500 THRU 1800

ASSIGNING ASSIGNING 00 TO 1800 THRU 2500 TO 1800 THRU 2500 FOR E_PrefFOR E_Pref

… …context context HelpHelp provides information provides information on function and use on function and use

of operationsof operations

<more info in the MapCalc Manual><more info in the MapCalc Manual>

……any real number from -3.4Eany real number from -3.4E3838 to + 3.4E to + 3.4E3838 can can be assigned to any existing value on a mapbe assigned to any existing value on a map

……often integer values are assigned based on user often integer values are assigned based on user reasoning (as in this example)reasoning (as in this example)

NoteNote: : PMAP_NULLPMAP_NULL is a special value that can is a special value that can be assigned indicating “no data” and the grid be assigned indicating “no data” and the grid location will be ignored in processing and displaylocation will be ignored in processing and display

Page 13: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Slice OperationSlice OperationSliceSlice— assigns new values by dividing the range of values — assigns new values by dividing the range of values

on a map into specified intervals on a map into specified intervals (“Equal Ranges” contouring)(“Equal Ranges” contouring)

……Slice <mapName>Slice <mapName> is often used to is often used to collapse a map with a large set of map values collapse a map with a large set of map values to just a few intervals for a quick view of the to just a few intervals for a quick view of the pattern of the spatial data distributionpattern of the spatial data distribution

……a user can specify the minimum a user can specify the minimum and maximum values and maximum values of the range– of the range– SLICE Elevation INTO 20 SLICE Elevation INTO 20 FROM 1000 THRU 1200 ZeroFill FROM 1000 THRU 1200 ZeroFill FOR Relief_10ftFOR Relief_10ft

……Map RangeMap Range = Max_Value – Min_Value = Max_Value – Min_Value = 2500 – 500= = 2500 – 500= 20002000 feet feet

……Contour IntervalContour Interval = Map Range / # ranges = Map Range / # ranges = 2000 / = 2000 / 2020 = 100 feet = 100 feet

SLICE Elevation into 20 FOR Relief_100ftSLICE Elevation into 20 FOR Relief_100ft

(Berry)

Page 14: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Size OperationSize Operation

……the Size operation assigns the the Size operation assigns the number of cellsnumber of cells comprising each comprising each map regionmap region (category/value) (category/value)

……in this instance there are three map regions in this instance there are three map regions (Open Water= 1, Meadow= 2, Forest= 3)– note (Open Water= 1, Meadow= 2, Forest= 3)– note that Water occurs at two different places.that Water occurs at two different places.

……to calculate the actual area to calculate the actual area of each map region of each map region multiplymultiply the size map times the area the size map times the area per grid cell– 10,000 mper grid cell– 10,000 m22 or 1 ha in this caseor 1 ha in this case

……to calculate the size/area of each occurrence to calculate the size/area of each occurrence you must you must first Clumpfirst Clump the map “regions”, then the map “regions”, then use the Size commanduse the Size command

(Berry)

SizeSize— assigns new values according to the size of the area — assigns new values according to the size of the area associated with each map category.associated with each map category.

SIZE Covertype FOR Coverype_sizeSIZE Covertype FOR Coverype_size

Page 15: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Clump OperationClump Operation

……a map “a map “categorycategory” identifies all locations with ” identifies all locations with the same characteristic or condition– e.g., Open the same characteristic or condition– e.g., Open Water, Meadow, Forest Water, Meadow, Forest

……a “a “clumpclump” is a ” is a contiguous groupcontiguous group (individual (individual spatial instance of a map “category”)–e.g., five spatial instance of a map “category”)–e.g., five cover type clumps with two instances of Open cover type clumps with two instances of Open Water Water

(Berry)

ClumpClump— assigns new values to contiguous groups of cells — assigns new values to contiguous groups of cells within each map category.within each map category.

CLUMP Covertype AT 1 DIAGONALLY CLUMP Covertype AT 1 DIAGONALLY FOR Coverype_clumpsFOR Coverype_clumps

““AtAt” identifies how ” identifies how far to far to reachreach in in defining clumpsdefining clumps

““OrthogonallyOrthogonally” reaches ” reaches horizontally and vertically horizontally and vertically only; “only; “DiagonallyDiagonally” includes ” includes off angles off angles

Page 16: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Configure OperationConfigure Operation

(Berry)

Spatial IntegritySpatial Integrity

ConfigureConfigure— assigns new values characterizing the shape — assigns new values characterizing the shape and integrity of the area associated with each map category.and integrity of the area associated with each map category.

Boundary ConfigurationBoundary Configuration

Edge cellsCONFIGURE Covertype Edges CONFIGURE Covertype Edges FOR Covertype_edgesFOR Covertype_edges

Convexity Convexity is the is the ratio of the Edge ratio of the Edge to the Areato the Area (Size) and normalized (Size) and normalized to that of a circle of the same areato that of a circle of the same area

EulerEuler = (# Holes) – (1-#Fragments) = (# Holes) – (1-#Fragments)

Page 17: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Some Reclassifying Things to Keep in MindSome Reclassifying Things to Keep in Mind

(Berry)

The Covertype map contains The Covertype map contains NominalNominal data that is data that is Discretely Discretely (Choropleth) (Choropleth) distributed in geographic space. As such, it is best displayed in distributed in geographic space. As such, it is best displayed in 2D2D using using cells (cells (GridGrid) and with layer mesh on as the stored values do not form ) and with layer mesh on as the stored values do not form gradients in either numerical or geographic space. gradients in either numerical or geographic space.

The Size command assigns new values according to the The Size command assigns new values according to the size size of the area (# of cells) associated with each map categoryof the area (# of cells) associated with each map category. In . In this instance the input map is Covertype (Nominal/Discrete this instance the input map is Covertype (Nominal/Discrete data) and the output map is Covertype_size (Ratio/Discrete data) and the output map is Covertype_size (Ratio/Discrete data). The size algorithm data). The size algorithm “counts” the number of cells for “counts” the number of cells for each map category each map category (stored map value). (stored map value).

……identifies that “one cell in size” elevation values occur in identifies that “one cell in size” elevation values occur in 64% of the map area (384/1= 384 times; each value is 64% of the map area (384/1= 384 times; each value is unique). “Three cells in size” areas occur in 2.88% of the unique). “Three cells in size” areas occur in 2.88% of the analysis window (18/3= 6 times; six sets of the same value). analysis window (18/3= 6 times; six sets of the same value).

Size works on Size works on Nominal dataNominal data (Categorical) but usually is not (Categorical) but usually is not appropriate for ratio data as far to many values (decimal appropriate for ratio data as far to many values (decimal places); results in most of the map being assigned the cell places); results in most of the map being assigned the cell size value of 1 because elevation values with decimal points size value of 1 because elevation values with decimal points rarely are the same. For example, sizing the Elevation rarely are the same. For example, sizing the Elevation map… map…

Page 18: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Creating a Flowchart Creating a Flowchart (using PowerPoint)(using PowerPoint)

Under the Under the HomeHome tab tab, 1) use the , 1) use the RectanglRectangle e drawing tool to create drawing tool to create and size a box to represent a map in the flowchart and 2) use the and size a box to represent a map in the flowchart and 2) use the TextText box drawing tool to enter the map name in the Rectangle. box drawing tool to enter the map name in the Rectangle. SelectSelect both and use both and use FormatFormat GroupGroup to group the two objects.to group the two objects.

Enter map titleEnter map title1122

Enter map titleEnter map title Enter other map Enter other map titletitle

Slo

pe

Copy Copy andand Paste Paste the Rectangle to form other maps. the Rectangle to form other maps. Use theUse the LineLine drawing tool to connect the boxes. Use drawing tool to connect the boxes. Use the the TextText box drawing tool to enter the command, box drawing tool to enter the command, rotate and place over the Line.rotate and place over the Line.

Enter yet another Enter yet another map titlemap title

RepeatRepeat the process to add additional maps (boxes) the process to add additional maps (boxes) and processing steps (lines) to complete the and processing steps (lines) to complete the flowchart containing the logic of the GIS model.flowchart containing the logic of the GIS model.

There are a lot of other things you can do to make the graphic a bit more unique, such as There are a lot of other things you can do to make the graphic a bit more unique, such as borders, transparency, shadowing and animation (viewed as a slide show). Also, keep in mind borders, transparency, shadowing and animation (viewed as a slide show). Also, keep in mind that Formatthat Format Align can be used to align multiple graphic objects if things get out of whack. Align can be used to align multiple graphic objects if things get out of whack.

(Berry)

Page 19: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Compound Graphic Compound Graphic (Campground model results)(Campground model results)

Use SnagIt to Use SnagIt to capturecapture one of the graphic elements, such as the S_Pref map then one of the graphic elements, such as the S_Pref map then Paste and Size Paste and Size at the appropriate location on the “canvas” (white background shape). at the appropriate location on the “canvas” (white background shape). Repeat Repeat for all of the for all of the

other graphic elements. Use the other graphic elements. Use the Text Box toolText Box tool to embed text as appropriate. to embed text as appropriate.

Group the figure elements in logical groupings and then use the Custom Animation tool to Group the figure elements in logical groupings and then use the Custom Animation tool to control their sequencing for display if you intend to present as a PowerPoint slide deck. control their sequencing for display if you intend to present as a PowerPoint slide deck. (Berry)

Campground

Suitability

Page 20: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

An Analytic Framework for GIS ModelingAn Analytic Framework for GIS Modeling

(Berry)(Berry)

Overlay operationsOverlay operations involve characterizing involve characterizing the spatial coincidence of mapped datathe spatial coincidence of mapped data

……Map Analysis organization and evolution Map Analysis organization and evolution (GIS Modeling Framework paper)(GIS Modeling Framework paper)

Page 21: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Overlaying MapsOverlaying Maps

(Berry)

Page 22: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Overlaying MapsOverlaying Maps

(Berry)

COMPOSITE -- Creates a map summarizing values from one map which coincide with the categories of another.

CALCULATE and COMPUTE -- Creates a map as the mathematical or statistical function of two or more maps.

COVER -- Creates a new map where nonzero values of the top map replace the values on the previous (bottom) map, or stack of maps.

CROSSTAB -- Generates a spatial coincidence table of two maps.

INTERSECT -- Creates a map that assigns new values to pair-wise combinations of values on two maps.

<Homework <Homework Question #3Question #3>>

…true “map-ematics”

RegionRegionwidewide

Point-by-Point-by-PointPoint

Point-by-Point-by-PointPoint

Point-by-Point-by-PointPoint

Point-by-Point-by-PointPoint

……Map-wide overlay involves spatial statistics (spatial data mining)Map-wide overlay involves spatial statistics (spatial data mining)

Page 23: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Compute/Calculate OperationCompute/Calculate Operation

All of the basic mathematical operations on a All of the basic mathematical operations on a typical pocket calculator can be performed on typical pocket calculator can be performed on grid maps…grid maps…

……including including Add, Subtract, Multiply, Add, Subtract, Multiply, Divide, Exponentiation, Square, Square Divide, Exponentiation, Square, Square Root, Max, Min, And, Or, & Trig functionsRoot, Max, Min, And, Or, & Trig functions

… …other math functions?other math functions?

……in this example one map is in this example one map is multiplied by 10 then added to multiplied by 10 then added to another map, thereby creatinganother map, thereby creatinga a 2-digit code2-digit code indicating the first map’s indicating the first map’s categories as the tens digit followed by the categories as the tens digit followed by the second map’s categories as the one’s digitsecond map’s categories as the one’s digit

(Berry)

Compute/CalculateCompute/Calculate— creates a new map as the mathematical — creates a new map as the mathematical function of two or more maps.function of two or more maps.

COMPUTE Covertype TIMES 10 Plus COMPUTE Covertype TIMES 10 Plus Water FOR Coverype_WaterWater FOR Coverype_Water

Page 24: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

CrosstabCrosstab— generates a spatial coincidence — generates a spatial coincidence tabletable of two of two maps.maps.

Map1 = Districts

Map2 = Covertype

Crosstab OperationCrosstab Operation

……the maps are compared “cell-by-cell” and the maps are compared “cell-by-cell” and the number of joint occurrencesthe number of joint occurrencesbetween the map categories are between the map categories are summarized in a tablesummarized in a table

(Berry)

CROSSTAB Districts WITH Covertype CROSSTAB Districts WITH Covertype Simply TO Newtextfile.txtSimply TO Newtextfile.txt

In this example there are… In this example there are…

• 58 cells 58 cells classified as classified as District 1District 1 on the on the Districts map Districts map

• 82 cells 82 cells classified as classified as Open WaterOpen Water on the on the Covertype map Covertype map

• 58 cells 58 cells identified as having the joint identified as having the joint condition of condition of District 1 and Open WaterDistrict 1 and Open Water representing 9.28 percent of the entire map representing 9.28 percent of the entire map area. area.

NoteNote: all of the District 1 cells are in Open Water: all of the District 1 cells are in Open Water

Optional Question 3-2

Page 25: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Intersect OperationIntersect Operation

……if “if “completelycompletely” is specified all ” is specified all combinations are automatically combinations are automatically identified using unique sequential identified using unique sequential numbering for map valuesnumbering for map values

NoteNote: Intersect is similar to : Intersect is similar to geo-querygeo-query operations in desktop mapping packages by operations in desktop mapping packages by identifying all locations having specified identifying all locations having specified category (map value) combinations category (map value) combinations

(Berry)

…“…“zerofillzerofill” assigns 0 to all ” assigns 0 to all combinations that are not specifiedcombinations that are not specified

… “… “oldfilloldfill” retains 1” retains 1stst map values map values for non-specified combinations for non-specified combinations

IntersectIntersect— creates a — creates a mapmap that assigns new values to pair- that assigns new values to pair-wise combinations of values on two maps.wise combinations of values on two maps.

Map 1 = Districts

Map 2 = Covertype

The maps are compared “The maps are compared “cell-by-cellcell-by-cell” and a user ” and a user specified number is assigned to designated category specified number is assigned to designated category combinations…combinations…

INTERSECT Districts WITH Covertype INTERSECT Districts WITH Covertype ASSIGN 1 to 1, 1 Zerofill FOR Districts1_Cover1ASSIGN 1 to 1, 1 Zerofill FOR Districts1_Cover1

Page 26: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

CoverCover— creates a new map where the non-zero values of the top map — creates a new map where the non-zero values of the top map replace the values on the previous (bottom) map, or stack of maps.replace the values on the previous (bottom) map, or stack of maps.

4Water 4

Cover 1

Water

Covertype

0

31

4

Cover OperationCover Operation

……in the example coincidence in the example coincidence 4,14,1 4 because 4 is non-zero 4 because 4 is non-zero and replaces what is beneath itand replaces what is beneath it

……0,30,3 3 because zero is ignored and does not 3 because zero is ignored and does not replace the previous value in the map stackreplace the previous value in the map stack

(Berry)

……the maps are compared “cell-by-cell” and the maps are compared “cell-by-cell” and the the value in the top-most cell value in the top-most cell replacesreplaces the the previous values unless that value is zeroprevious values unless that value is zero, then , then the top most non-zero value is retainedthe top most non-zero value is retained

Page 27: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Composite OperationComposite Operation

……data summary data summary proceduresprocedures include include

Average, Standard deviation, Average, Standard deviation, Coefficient of variation, Total, Coefficient of variation, Total, Maximum, Minimum, MedianMaximum, Minimum, Median

Majority, Minority, Diversity,Majority, Minority, Diversity, Deviation Deviation andand Proportion Proportion

(Berry)

“Cookie-cutter”

Template Map

Data Map

CompositeComposite— creates a map summarizing values from one map that — creates a map summarizing values from one map that coincide with the categories (termed regions) identified on another mapcoincide with the categories (termed regions) identified on another map

……the regions identified by category values the regions identified by category values on one map serve as cookie-cutter shapes on one map serve as cookie-cutter shapes ((Template mapTemplate map) for summarizing data ) for summarizing data contained on another map (contained on another map (Data mapData map))

COMPOSITE Districts WITH Slope Average COMPOSITE Districts WITH Slope Average IGNORE PMAP_NULL FOR Districts_avgSlopeIGNORE PMAP_NULL FOR Districts_avgSlope

Page 28: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Generalizing Continuous Mapped Data Generalizing Continuous Mapped Data

(Berry)

Elevation Contours (2D Discrete)

3D Plot of Elevation(3D Continuous)

Districts Map (2D Discrete)

Districts Draped over

Elevation(3D Continuous)

(Data Map)

(Template Map)

…region-wide overlay

Page 29: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

Thematic Mapping Thematic Mapping (Average elevation by district)(Average elevation by district)

(Berry)

Best

Worst

500500 15391539 21762176

65365310991099

1779177910801080

Average Elevationof Districts

“Thematic Mapping”

(0)(0)(39)(39)

(9)(9)

(29)(29)(21)(21)

(9)(9)

(24)(24)

…include Coffvar in Thematic Mapping results

Page 30: Introduction to GIS Modeling Week 3 — Reclassifying and Overlaying Maps GEOG 3110 –University of Denver Suitability Modeling Logic Reclassifying Maps.

(Berry)

Map Accuracy Map Accuracy (Error Propagation– simple overlay)(Error Propagation– simple overlay)

Soil TypeSoil TypeForest TypeForest Type

Joint ProbabilityJoint Probability — — likelihood of likelihood of two  conditions occurring together…two  conditions occurring together…

VectorVector

RasterRaster

P(x,y) = P(x) * P(y)P(x,y) = P(x) * P(y)

……evaluated evaluated cell-by-cellcell-by-cell

P(x)P(x)

P(y)P(y)

P(x,y)P(x,y)

JointProbability

(See Beyond Mapping II, “Topic 4, “Toward and Honest GIS”)(See Beyond Mapping II, “Topic 4, “Toward and Honest GIS”)

Topological OverlayTopological Overlay

Coincidence SearchCoincidence Search

100% certain everywhere 100% certain everywhere in the derived polygon?in the derived polygon?

Intersect Intersect PolygonsPolygons

Spatial TableSpatial Table

Attribute TableAttribute TableJoinJoinDataData

Believable?Believable?

(digital slide show Honest)(digital slide show Honest)


Recommended