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