+ All Categories
Home > Documents > Raster to Vector / Vector to Raster - Portland State...

Raster to Vector / Vector to Raster - Portland State...

Date post: 15-Aug-2021
Category:
Upload: others
View: 7 times
Download: 0 times
Share this document with a friend
11
1 Raster Data Analysis Raster Data Model • Cells (Pixels) • Cell value • x, y cell sizes • Geographic coordinates Attributes
Transcript
Page 1: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Raster Data Analysis 

Raster Data Model 

• Cells (Pixels) • Cell value 

• x, y cell sizes • Geographic coordinates 

Attributes

Page 2: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Raster to Vector / Vector to Raster 

V2R 

R2V 

ArcGIS Spatial Analyst 

•  Mainly for raster data analysis •  Arctoolbox: Spatial Analyst Tools •  Spatial Analyst Toolbar 

– Raster Calculator

Page 3: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Spatial Analyst Option Menu 

Raster Calculator ­ the most powerful tool in spatial analyst

Page 4: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Raster Calculator Functions 

•  Arcinfo Workstation / Arcdoc 

•  > 200 functions 

Raster Operations 

Local operation (majority) 

Focal operation (focalmajority) 

Zonal operation (zonalmajority) 

Global operation (costdistance) 

Application functions

Page 5: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Working with Nodata in RC 

•  ISNULL: convert Nodata to a value •  SETNULL: set cell value to Nodata •  CON: conditional function 

•  Examples 

– Replace Nodata with 0 in a DEM Outgrid = con(isnull([dem]), 0, [dem]) 

– Set slope > 15 to Nodata on the DEM Lowrisk = setnull([slope]> 15, [dem]) 

ISNULL() Function

Page 6: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

SETNULL() Function 

CON() Function

Page 7: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Raster Clip Example 

Output A  Output B  Output C 

Raster Clip

Page 8: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Raster Buffering

Page 9: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

Point Features to Raster •  Con( isnull(pointg), 0, 1)

Page 10: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

10

Page 11: Raster to Vector / Vector to Raster - Portland State Universityweb.pdx.edu/~jduh/courses/geog492w10/Week3b.pdf · 2010. 1. 21. · • x, y cell sizes • Geographic coordinates Attributes.

11 

Implementing Ordered Weighted Average in ArcGIS 

•  Raster Calculator r1 = rank(1, [factor1], [factor2], [factor3]) r2 = rank(2, [factor1], [factor2], [factor3]) r3 = rank(3, [factor1], [factor2], [factor3]) owavg = [r1] * 0.5 + [r2] * 0.3 + [r3] * 0.2


Recommended