Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GEOG 400 Week 2 Lecture 1, Fall 21

alan.kasprak
September 08, 2021

GEOG 400 Week 2 Lecture 1, Fall 21

alan.kasprak

September 08, 2021
Tweet

More Decks by alan.kasprak

Other Decks in Education

Transcript

  1. Some Review from Last Week… Recall the differences between raster

    and vector data… 1. Vector Data Models Shapefiles (.shp) or feature classes: Points, Lines, Polygons 2. Raster Data Models .tif, .jpg, .pdf, .img, .png, GRID, .asc, .txt Some key differences between the two data models Composed of points, or nodes, that have exact locations in space Nodes can be singular (points), or can be connected to form polylines or polygons Vectors will not distort or pixelate, no matter how far we’re zoomed in Composed of cells, or pixels, that have a constant resolution Great for representing continuous or discrete spatial data across larger regions Because cell sizes are constant, rasters will become pixelated when zoomed-in to very close range
  2. When life hands you lemons, make lemonade. Today we’ll talk

    about why you might want to convert between these two data models …and how we can convert between these data models (hint: pushing buttons in ArcPro) …and what’s actually happening behind the scenes to make this possible.
  3. What’s the area of forest in the map?  great

    for raster data What’s the length of the river in the map?  great for vector data
  4. What’s the area of forest in the map?  great

    for raster data What’s the length of the river in the map?  great for vector data
  5. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter Alex Walker, USU Alex Walker, USU Flickr We use this… To collect these… But we want this. Vector shapefile Raster DEM
  6. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter Point to Raster conversion tool in ArcPro will get you there
  7. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter Point to Raster conversion tool in ArcPro will get you there …but it’s not terribly straightforward
  8. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter The attribute field of the input points (lat, long, elevation, veg type, geologic rock type, temp, … To make a DEM, what would the value field be?
  9. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter What if there are multiple points within an output cell?!
  10. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter What if there are multiple points within an output cell?! Most frequent: categorical data (land cover type) Mean: continuous data (elevation, temp, precip) When might you use Sum?
  11. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter What if there are multiple points within an output cell?! Most frequent: categorical data (land cover type) Mean: continuous data (elevation, temp, precip) When might you use Sum?
  12. Vector to Raster Conversion #1: Point to Raster [in my

    opinion] the most common data model conversion that you’ll encounter What cell size (or resolution) do we want the output raster to have? IN THE UNITS OF THE POINT SHP’S COORDINATE SYSTEM! We can put any number in here, but we probably shouldn’t.
  13. Raster Considerations 2: Resolution Raster resolution is a delicate balancing

    act between the information you want to convey and the size (and processing time) of the file you’re dealing with. “1 m resolution” “0.5 m resolution” 1 m 1 m 1 m 1 m To DOUBLE the resolution, we have to QUADRUPLE the cells So be very careful, because files can get really big, really fast.
  14. Vector to Raster Conversion #2: Polygon to Raster Why might

    we want to do this? But we want this. Reason #1: because doing geometry calculations on vector data is slooooow over big areas
  15. Vector to Raster Conversion #2: Polygon to Raster Why might

    we want to do this? But we want this. Reason #2: because we often want to compute changes from one attribute to another Fortin et al., 2018 Polygon representation of land cover
  16. Vector to Raster Conversion #2: Polygon to Raster Why might

    we want to do this? But we want this. Reason #2: because we often want to compute changes from one attribute to another Reason #1: because doing geometry calculations on vector data is slooooow over big areas The attribute field of the input polygon that you want your raster to represent
  17. Vector to Raster Conversion #2: Polygon to Raster Why might

    we want to do this? But we want this. Reason #2: because we often want to compute changes from one attribute to another Reason #1: because doing geometry calculations on vector data is slooooow over big areas What happens if there’s more than one polygon in the resulting raster cell?!
  18. Vector to Raster Conversion #2: Polygon to Raster Why might

    we want to do this? But we want this. Reason #2: because we often want to compute changes from one attribute to another Reason #1: because doing geometry calculations on vector data is slooooow over big areas What cell size (or resolution) do we want the output raster to have? IN THE UNITS OF THE POLYGON SHP’S COORDINATE SYSTEM! We can put any number in here, but we probably shouldn’t.
  19. Raster to Vector Conversion #1: Raster to Point I haven’t

    used this for tasks other than displaying stuff differently, but you might come across a need for it at some point. Raster to Point conversion tool in ArcPro will get you there, and it’s simple. But it can be really, really slow on big rasters.
  20. Raster to Vector Conversion #1: Raster to Point I haven’t

    used this for tasks other than displaying stuff differently, but you might come across a need for it at some point. Raster to Point conversion tool in ArcPro will get you there, and it’s simple. But it can be really, really slow on big rasters.
  21. Raster to Vector Conversion #1: Raster to Point I haven’t

    used this for tasks other than displaying stuff differently, but you might come across a need for it at some point. Raster to Point conversion tool in ArcPro will get you there, and it’s simple. But it can be really, really slow on big rasters.
  22. Raster to Vector Conversion #2: Raster to Polyline We’ll see

    this one a lot in hydrologic modeling later this semester Things that are inherently linear (e.g., streams)
  23. Raster to Vector Conversion #2: Raster to Polyline This often

    comes up in image classification, too. How can we compute the length of roads?
  24. Raster to Vector Conversion #2: Raster to Polyline But don’t

    try this on just any raster. Raster needs to be an “integer” type (we’ll talk about bit depth next week). What’s an integer?
  25. Raster to Vector Conversion #2: Raster to Polyline But don’t

    try this on just any raster. Raster needs to be an “integer” type (we’ll talk about bit depth next week). What’s an integer?
  26. Raster to Vector Conversion #2: Raster to Polyline But don’t

    try this on just any raster. Raster needs to be an “integer” type (we’ll talk about bit depth next week). What’s an integer?
  27. Raster to Vector Conversion #3: Raster to Polygon Why might

    we use this? Among other reasons… Example #1. Nicely displaying features on a map Example #2. Computing the distance between features Example #3. Computing the area of groups of features (e.g., different types of forest)
  28. Raster to Vector Conversion #3: Raster to Polygon Why might

    we use this? Among other reasons… Example #1. Nicely displaying features on a map Example #2. Computing the distance between features Example #3. Computing the area of groups of features (e.g., different types of forest)
  29. Raster to Vector Conversion #3: Raster to Polygon Why might

    we use this? Among other reasons… Example #1. Nicely displaying features on a map Example #2. Computing the distance between features Example #3. Computing the area of groups of features (e.g., different types of forest)
  30. Raster to Vector Conversion #3: Raster to Polygon Why might

    we use this? Among other reasons… Example #1. Nicely displaying features on a map Example #2. Computing the distance between features Example #3. Computing the area of groups of features (e.g., different types of forest)
  31. Raster to Vector Conversion #3: Raster to Polygon Why might

    we use this? Among other reasons… Example #1. Nicely displaying features on a map Example #2. Computing the distance between features Example #3. Computing the area of groups of features (e.g., different types of forest)
  32. Raster to Vector Conversion #3: Raster to Polygon Why might

    we use this? Among other reasons… Example #1. Nicely displaying features on a map Example #2. Computing the distance between features Example #3. Computing the area of groups of features (e.g., different types of forest) 1 2 3 4 5 6 7 8 9 10
  33. Raster to Raster Conversion We’ll talk about this next week

    as it relates to resolution…but just know you can do it. …and that it’s often the quickest way to change formats and cell sizes/resolutions.