I have ASCII files for a country that map altitude. I'd like to extract information on slopes for specific cities in my country. My goal is to have at least a rough idea of physical constraints in those cities. I thought about using the variance of altitude within each city. I have them in vectorial format.
I have no idea of how to do that. I can use QGIS or R.
EDIT : I successfully created a slope map. My problem now is how to cut my slope map using the polygons for cities, and then compute an average slope value within each city
EDIT 2: I found the solution on the internet, with the Zonal statistics plug-in
ncols 1000 nrows 1000 xllcorner 74962.500000000000 yllcorner 6750037.500000000000 cellsize 75.000000000000 NODATA_value -99999.00 -99999.00 -99999.00 -99999.00 -99999.00 -99999.00 -99999.00 -99999.00
– JRPV Aug 10 '19 at 11:43