This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:doc:gisdata [2015/02/05 13:01] – created Antonello Lobianco | en:doc:gisdata [2025/05/01 12:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
|   * Save the second shapefile "save as shapefile" |   * Save the second shapefile "save as shapefile" | ||
| - | === Clip a shapefile === | + | ==== Clip a shapefile  | 
| In order to e.g. clip the CLC06 shapefile only on France borders, the command in QGis is:\\ | In order to e.g. clip the CLC06 shapefile only on France borders, the command in QGis is:\\ | ||
| Vector → Geo-processing tools → Intersection | Vector → Geo-processing tools → Intersection | ||
| - | === Map dissolve === | + | ==== Map dissolve  | 
| In order to dissolve a shapefile (e.g. to dissolve selected nuts2 for metro France in a single nuts1 map): \\ | In order to dissolve a shapefile (e.g. to dissolve selected nuts2 for metro France in a single nuts1 map): \\ | ||
| Vector → Geo-processing tools → Dissolve\\ | Vector → Geo-processing tools → Dissolve\\ | ||
| To add to the newly created map the correct area column (in square meters): \\ | To add to the newly created map the correct area column (in square meters): \\ | ||
| Vector → Geometry tools → Add or delete geometric columns | Vector → Geometry tools → Add or delete geometric columns | ||
| + | |||
| + | ==== Report stats on a raster using a second raster as a base ==== | ||
| + | Let's say in grass we have a raster layer " | ||
| + | How can we get a table summing up the forest area by region ? For example with this: | ||
| + | r.univar -t map=mixedBC zones=nut_l2_inra2016 separator=comma output=mixedBC_by_region.csv | ||
| + | |||
| ===== DTM (Digital Terrain Model) ===== | ===== DTM (Digital Terrain Model) ===== | ||
| Line 54: | Line 60: | ||
| '' | '' | ||
| In order to compute the mortality parameters based on regions and elevation run in grass:\\ | In order to compute the mortality parameters based on regions and elevation run in grass:\\ | ||
| - | '' | + | '' | 
| ===== Maps rasterisation and Corine Land Cover map ===== | ===== Maps rasterisation and Corine Land Cover map ===== | ||