fuzzy_gib2
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
fuzzy_gib2 [2016/04/01 09:06] – extern redigering 127.0.0.1 | fuzzy_gib2 [2016/04/05 12:25] – Stefan Ene | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | KG2204 Exercise 1: Fuzzy Overlay | + | ====== |
- | admin|2014/ | + | |
In this exercise, we want to identify areas that are both close to water and where it is a lot of forest nearby. There are multiple methods to achieve this in ArcMap. | In this exercise, we want to identify areas that are both close to water and where it is a lot of forest nearby. There are multiple methods to achieve this in ArcMap. | ||
- | One simple way to do this is to use a tool to identify the areas close to water ((for example the buffer tool can be used) and another tool to find areas where it is a lot of forest nearby. When this is done, an overlay of those two layers show where areas that fulfill both those criteria are ((see below). | + | One simple way to do this is to use a tool to identify the areas close to water (for example the buffer tool can be used) and another tool to find areas where it is a lot of forest nearby. When this is done, an overlay of those two layers show where areas that fulfill both those criteria are (see below). |
- | [[image|Overlay with clearly defined borders|{UP}/ | + | {{: |
With this approach, the result is highly dependent on the limits that for example define the distance that separates the close from the not close areas. | With this approach, the result is highly dependent on the limits that for example define the distance that separates the close from the not close areas. | ||
Line 12: | Line 12: | ||
To have a clearly defined distance limit is for example relevant in case there is a law telling how close to a lake you can build. But in some cases, it is better to have a more fuzzy definition of how close a lake has to be to be close. In this exercise we will use fuzzy overlay to be able to solve the problem without the need to define exact limits. | To have a clearly defined distance limit is for example relevant in case there is a law telling how close to a lake you can build. But in some cases, it is better to have a more fuzzy definition of how close a lake has to be to be close. In this exercise we will use fuzzy overlay to be able to solve the problem without the need to define exact limits. | ||
- | [[image|Fuzzy overlay|{UP}/fuzzy_overlay.png]] | + | {{:fuzzy_overlay.png|Fuzzy overlay}} |
==Get the Data== | ==Get the Data== | ||
- | Go to [[http:// | + | Go to [[http:// |
The data will be sent to the email you choose and you can save and extract the data at the computer. | The data will be sent to the email you choose and you can save and extract the data at the computer. | ||
Line 23: | Line 23: | ||
Open ArcMap. | Open ArcMap. | ||
- | Add the files '' | + | Add the files '' |
To add files: | To add files: | ||
- | :File & | + | File > Add Data |
You will now a create a study area of 30000 X 30000 meters. Click on | You will now a create a study area of 30000 X 30000 meters. Click on | ||
- | :Customize » Toolbars » Draw | + | Customize » Toolbars » Draw |
In the toolbar that appears; click on the '' | In the toolbar that appears; click on the '' | ||
- | :Drawing » Convert Graphics To Features | + | Drawing » Convert Graphics To Features |
- | Make sure the output file is saved in your folder | + | Make sure the output file is saved in your folder (D: |
- | To avoid border effects; create a buffer | + | To avoid border effects; create a buffer (Geoprocessing » Buffer) of 1200 meters. Name it '' |
===Calculate the distance from water=== | ===Calculate the distance from water=== | ||
Line 45: | Line 45: | ||
First we want to create a raster layer were the pixels indicate the distance to the nearest water. This is done with the tool '' | First we want to create a raster layer were the pixels indicate the distance to the nearest water. This is done with the tool '' | ||
- | :ArcToolbox » Spatial Analyst Tools » Distance » Euclidean Distance | + | ArcToolbox » Spatial Analyst Tools » Distance » Euclidean Distance |
- | ((If '' | + | (If '' |
- | The input is the water ((mv) and give a name and location for the file that will be created. Also set the pixel size to 100 meters. Then click '' | + | The input is the water (mv) and give a name and location for the file that will be created. Also set the pixel size to 100 meters. Then click '' |
- | ((((((Question 1: What does it mean when a pixel in the created euclidean distance layer have the value 1000?))) | + | Question 1: What does it mean when a pixel in the created euclidean distance layer have the value 1000? |
===Convert forest from vector to binary raster=== | ===Convert forest from vector to binary raster=== | ||
- | The layer '' | + | The layer '' |
- | :Selection | + | Selection |
Select the layer and create an expression like: | Select the layer and create an expression like: | ||
Line 71: | Line 71: | ||
The forest pixels in the raster image will have different values. We want all of them to be 1 and the non forest pixels to be 0 or NoData. Therefore we use the tool: | The forest pixels in the raster image will have different values. We want all of them to be 1 and the non forest pixels to be 0 or NoData. Therefore we use the tool: | ||
- | :ArcToolbox » Spatial Analyst Tools » Reclass >> Reclassify | + | ArcToolbox » Spatial Analyst Tools » Reclass >> Reclassify |
One easy way to give all values the same value is to choose '' | One easy way to give all values the same value is to choose '' | ||
- | :Classification » Method: Equal Interval | + | Classification » Method: Equal Interval |
Set the number of '' | Set the number of '' | ||
Line 83: | Line 83: | ||
For this we will use the tool '' | For this we will use the tool '' | ||
- | :ArcToolbox » Spatial Analyst Tools » Neighborhood » Focal Statistics | + | ArcToolbox » Spatial Analyst Tools » Neighborhood » Focal Statistics |
'' | '' | ||
- | [[neig.png]] | + | {{:neig.png}} |
- | ((((((Question 2: What does it mean when a pixel in the focal statistics layer have the value 1?))) | + | Question 2: What does it mean when a pixel in the focal statistics layer have the value 1? |
Line 97: | Line 97: | ||
Now we have to do some pre processing. The tool '' | Now we have to do some pre processing. The tool '' | ||
- | :ArcToolbox » Spatial Analyst Tools » Overlay » Fuzzy Membership | + | ArcToolbox » Spatial Analyst Tools » Overlay » Fuzzy Membership |
- | The layer with distance to water are suppose to be small and the layer with the amount of forest nearby are supposed to be large in our overlay. | + | The layer with distance to water are suppose to be small and the layer with the amount of forest nearby are supposed to be large in our overlay. (Read about different Membership types in the tool help window, so that you can explain what it does.) |
- | ((((((Question 3: What does it mean when a pixel in the " | + | Question 3: What does it mean when a pixel in the " |
- | ((((((Question 4: What does it mean when a pixel in the " | + | Question 4: What does it mean when a pixel in the " |
==Fuzzy Overlay== | ==Fuzzy Overlay== | ||
- | The tool '' | + | The tool '' |
- | :ArcToolbox » Spatial Analyst Tools » Overlay » Fuzzy Overlay | + | ArcToolbox » Spatial Analyst Tools » Overlay » Fuzzy Overlay |
- | ((((((Question 5: What does it mean when a pixel in the fuzzy overlay layer have the value 1?))) | + | Question 5: What does it mean when a pixel in the fuzzy overlay layer have the value 1? |
When you are done, export the result using: | When you are done, export the result using: | ||
- | :File & | + | File > Export Map... |
==The End== | ==The End== | ||
- | ((((((Upload the answers to the five questions and the result from the fuzzy overlay as a jpeg to Mondo.))) | + | Upload the answers to the five questions and the result from the fuzzy overlay as a jpeg to Mondo. |
If you want to learn more about fuzzy overlay in ArcGIS, you can see this [[http:// | If you want to learn more about fuzzy overlay in ArcGIS, you can see this [[http:// |
fuzzy_gib2.txt · Last modified: 2020/03/26 13:22 by Stefan Ene