{"word_count": 228, "character_count": 1814}
Operations:Slope: DEM Layer.tif=[QGIS/Raster Based Terrain Analysis]=&#62;slope.tif=&#62;[r.in.gdal]=&#62;slopeGrid: [QGIS/Vector/Research Tools/Vector Grid]=&#62;grid.shp=[v.in.ogr]=&#62;grid=&#62;[v.to.rast]=&#62;gridCrossing Grid and Slope: grid*slope=[r.average]=&#62;gridSlope=[r.to.vect]=&#62;gridSlope=[v.out.ogr]=&#62;gridSlope.shpOpen your DEM LayerHere, we applied a pseudo-color tableSlope Raster creationFirst, create a slope map using raster-based Terrain Raster Analysis PluginHere is the result with pseudo-color tableImport your rasterUse r.in.gdalVector Grid CreationCreate a grid covering your area of interestVector &#62; Research Tools &#62; Vector GridIt generates a grid shapefile with an ID Colum which is uniqueHere, the grid covers the slope mapImport your gridv.in.ogrRasterize your grid using ID Columnv.to.rast.attrThe ID attribute will become the cell's categorySet the region on your rasterized vector gridGenerate an average slope grid using the two existing rastersr.average" r.average  - Finds the average of values in a cover map within areas assigned the same category value in a user-specified base map. "Remember that each square area of the rasterized vector grid has a unique category as it corresponds to the previous ID attribute of the vector gridHere is the result:Vectorize your average slope gridr.to.vect.areaHere, we labeled the generated vector using the cat column. Each number represents the average slope in each cell.Export it to shapeFile (optional)v.out.ogr--Remarks:Slope could have been created using r.slope.aspect within GRASS instead of using QGIS pluginYou could apply the same procudure using features instead of a grid. For example, you could get the average slope touching and/or surrounding some urban areas in the context of a Terrain Movement study