raster to vector / vector to raster - portland state...
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/1.jpg)
1
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/2.jpg)
2
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/3.jpg)
3
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/4.jpg)
4
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/5.jpg)
5
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/6.jpg)
6
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/7.jpg)
7
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/8.jpg)
8
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/9.jpg)
9
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070223/613fb8d1b44ffa75b80468a7/html5/thumbnails/11.jpg)
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