lab_point_to_polygon_and_point_to_raster
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
lab_point_to_polygon_and_point_to_raster [2016/04/07 09:03] – extern redigering 127.0.0.1 | lab_point_to_polygon_and_point_to_raster [2016/04/08 08:23] – Stefan Ene | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | KG2204 Exercise 2: Point to Polygon (and more) | + | ====== |
- | admin|2014/ | + | |
==Point to Polygon== | ==Point to Polygon== | ||
Line 13: | Line 13: | ||
* Rectangle marking the study area (Study_Area.shp) | * Rectangle marking the study area (Study_Area.shp) | ||
- | [[data_exercise2.png]] | + | {{*:data_exercise2.png}} |
==1. The intensity of monuments and spatial autocorrelation== | ==1. The intensity of monuments and spatial autocorrelation== | ||
Create (20 rows x 20 columns) rectangular polygons covering the study area with the tool: | Create (20 rows x 20 columns) rectangular polygons covering the study area with the tool: | ||
- | :ArcToolbox » Data Management Tools » Feature Class » Create Fishnet | + | ArcToolbox » Data Management Tools » Feature Class » Create Fishnet |
If not open; click '' | If not open; click '' | ||
Line 24: | Line 24: | ||
Give the rectangular polygons values for the number of ancient monuments inside them by right clicking on the layer name of the rectangular polygons in the '' | Give the rectangular polygons values for the number of ancient monuments inside them by right clicking on the layer name of the rectangular polygons in the '' | ||
- | :Joins and Relates » Join… | + | Joins and Relates » Join… |
Do: Join data from another layer based on spatial location | Do: Join data from another layer based on spatial location | ||
Line 36: | Line 36: | ||
Go to the tab '' | Go to the tab '' | ||
- | :Quantities » Graduated colors | + | Quantities » Graduated colors |
The value we want to visualize is '' | The value we want to visualize is '' | ||
Are there any patterns? Do neighboring polygons tend to be more similar than a random polygon? Check if that is the case by calculating the Moran’s I. | Are there any patterns? Do neighboring polygons tend to be more similar than a random polygon? Check if that is the case by calculating the Moran’s I. | ||
- | :ArcToolbox » Spatial Statistics Tools » Analyzing Patterns » Spatial Autocorrelation (Morans I) | + | ArcToolbox » Spatial Statistics Tools » Analyzing Patterns » Spatial Autocorrelation (Morans I) |
You could use '' | You could use '' | ||
Line 55: | Line 55: | ||
For that we use the election districts. Some of the election districts include a lot of water. Erase those parts from the election districts using the tool: | For that we use the election districts. Some of the election districts include a lot of water. Erase those parts from the election districts using the tool: | ||
- | :ArcToolbox » Analysis Tools » Overlay » Erase | + | ArcToolbox » Analysis Tools » Overlay » Erase |
Give the election districts values for the population by joining them with the Excel file. Right click on the layer name of the election district polygons with lakes erased. Choose: | Give the election districts values for the population by joining them with the Excel file. Right click on the layer name of the election district polygons with lakes erased. Choose: | ||
- | :Joins and Relates » Join… | + | Joins and Relates » Join… |
Do: Join attributes from a table using the fields: '' | Do: Join attributes from a table using the fields: '' | ||
Line 78: | Line 78: | ||
Open Microsoft Excel and open the dbf file (instead of '' | Open Microsoft Excel and open the dbf file (instead of '' | ||
- | :Insert » (Charts) » Scatter » Scatter with only Markers | + | Insert » (Charts) » Scatter » Scatter with only Markers |
==3. Test of monuments are close to water== | ==3. Test of monuments are close to water== | ||
Line 85: | Line 85: | ||
We also want to create a raster file with the distance to water using the tool '' | We also want to create a raster file with the distance to water using the tool '' | ||
- | :ArcToolbox » Spatial Analyst Tools » Distance » Euclidean Distance | + | ArcToolbox » Spatial Analyst Tools » Distance » Euclidean Distance |
Calculate the mean distance to water for each rectangular area using the tool: | Calculate the mean distance to water for each rectangular area using the tool: | ||
- | :ArcToolbox » Spatial Analyst Tools » Zonal » Zonal Statistics as Table | + | ArcToolbox » Spatial Analyst Tools » Zonal » Zonal Statistics as Table |
Join this new table to the rectangular polygons and export the joined attribute table and open it in Microsoft Excel. Make a scatter plot for how the count of monuments relates to the mean distance for each rectangle. | Join this new table to the rectangular polygons and export the joined attribute table and open it in Microsoft Excel. Make a scatter plot for how the count of monuments relates to the mean distance for each rectangle. | ||
Line 99: | Line 99: | ||
Put your intensity map and the two scatter plots in a Microsoft Word document and export the document as a PDF. Send in the PDF file on Mondo. | Put your intensity map and the two scatter plots in a Microsoft Word document and export the document as a PDF. Send in the PDF file on Mondo. | ||
- | If you have time you can also practice map design using [[^http:// | + | If you have time you can also practice map design using [[http:// |
lab_point_to_polygon_and_point_to_raster.txt · Last modified: 2020/03/29 14:23 by Stefan Ene