Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
osgis [2012/12/07 16:45] glaroc |
osgis [2013/11/27 16:27] (current) glaroc [**THIS PAGE WAS DONE FOR AN OLDER VERSION OF THE WORKSHOP [[introgis|CLICK HERE FOR THE CURRENT VERSION]]**] |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| Guillaume Larocque, Research Professional. ([email protected]) | Guillaume Larocque, Research Professional. ([email protected]) | ||
| - | November 2012 | + | ====== **THIS PAGE WAS DONE FOR AN OLDER VERSION OF THE WORKSHOP ** ====== |
| + | [[introgis|CLICK HERE FOR THE CURRENT VERSION]] | ||
| ===== Presentation ===== | ===== Presentation ===== | ||
| Line 231: | Line 232: | ||
| Step 15: Use the r.mask GRASS function to create a mask with the raster created in Step 14. Add this new raster map to your canvas using 'Add GRASS raster layer'. | Step 15: Use the r.mask GRASS function to create a mask with the raster created in Step 14. Add this new raster map to your canvas using 'Add GRASS raster layer'. | ||
| - | Step 16: Find the module v.surf.idw GRASS function, choose a name for the output file and interpolate a map for the data from 1980-1994 and another for the 1995-2005 data. You need to select the appropriate columns in the attribute field. Add these GRASS rasters to your map canvas. You will see that these maps will have the proper resolution (Step 12) and the interpolation will be limited by the mask (Step 15). | + | Step 16: Find the module v.surf.rst GRASS function, choose a name for the output file and interpolate a map for the data from 1980-1994 and another for the 1995-2005 data. You need to select the appropriate columns in the attribute field. Add these GRASS rasters to your map canvas. You will see that these maps will have the proper resolution (Step 12) and the interpolation will be limited by the mask (Step 15). |
| Step 17: In the properties of each layer, develop a new color palette appropriate for these files (Tab Style>Color palette>Color palette and then click on the tab >Colormap). Choose a linear color interpolation, define three relevant number values associated with each color (you can click on the raster with the 'Identify Features' tool to see the range of values) and assign the same palette to rasters from each period. Do you notice any difference in the spatial distribution of the ovenbirds over time? | Step 17: In the properties of each layer, develop a new color palette appropriate for these files (Tab Style>Color palette>Color palette and then click on the tab >Colormap). Choose a linear color interpolation, define three relevant number values associated with each color (you can click on the raster with the 'Identify Features' tool to see the range of values) and assign the same palette to rasters from each period. Do you notice any difference in the spatial distribution of the ovenbirds over time? | ||
| Line 245: | Line 246: | ||
| **Objective: create a NDVI (Normalized Difference Vegetation Index) map, associate it with a color palette and extract the mean NDVI for parcs and fields of the region.** | **Objective: create a NDVI (Normalized Difference Vegetation Index) map, associate it with a color palette and extract the mean NDVI for parcs and fields of the region.** | ||
| - | Step 1: Within QGIS: Add the parcs_terrains_sports.shp layer to the canvas and save it as a new file with the CRS NAD83 / UTM 18N. Convert the file to GRASS format using the v.in.ogr.qgis function. If the operation was completed successfully, you can now close QGIS. | + | Step 1: Within QGIS: Add the parcs_terrains_sports.shp layer to the canvas and save it as a new file with the CRS NAD83 / UTM 18N. Open the mapset 'landsat' from the 'Day 2' Database folder extracted from the zip file. Convert the file to GRASS format using the v.in.ogr.qgis function. If the operation was completed successfully, you can now close QGIS. |
| Step 2: Open GRASS. On the 'Welcome to GRASS' interface, Browse to select the GIS Data directory and select the folder named Day 2 that you have extracted from the downloaded zip file. The project should be set to '31h05' and the mapset to 'Landsat'. | Step 2: Open GRASS. On the 'Welcome to GRASS' interface, Browse to select the GIS Data directory and select the folder named Day 2 that you have extracted from the downloaded zip file. The project should be set to '31h05' and the mapset to 'Landsat'. | ||
| Line 270: | Line 271: | ||
| **Objective: Create a 3D visualization showing a composite RGB map superimposed on an elevation surface.** | **Objective: Create a 3D visualization showing a composite RGB map superimposed on an elevation surface.** | ||
| - | Step 1: Select Raster>Generate colors>Manage colors>Create RGB. You will now create an RGB composite file by using the following band associations: Red:4 Green:3 Blue:2. | + | Step 1: Select Raster>Manage colors>Create RGB. You will now create an RGB composite file by using the following band associations: Red:4 Green:3 Blue:2. |
| Step 2: In Files>NVIZ, create a 3D visualization with the file 31H05_dem as the elevation file and the RGB composite you just created (leave the other fieds blank). To improve the display resolution, click on Visualize>Raster Surface and specify 1 as the fine resolution. | Step 2: In Files>NVIZ, create a 3D visualization with the file 31H05_dem as the elevation file and the RGB composite you just created (leave the other fieds blank). To improve the display resolution, click on Visualize>Raster Surface and specify 1 as the fine resolution. | ||
