French Forest Sector Model (FFSM++)

Laboratoire d'Economie Forestière - LEF - Nancy, France

User Tools

Site Tools


en:doc:gisdata

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:doc:gisdata [2015/07/01 09:24]
Antonello Lobianco [DTM (Digital Terrain Model)]
en:doc:gisdata [2018/06/18 16:45] (current)
Line 32: Line 32:
   * Save the second shapefile "save as shapefile" and change the projection field option in "project projections".   * Save the second shapefile "save as shapefile" and change the projection field option in "project projections".
    
-=== 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 "regionId" (integer) and a raster layer "forestArea", where we store the ha of forest within the pixel (float).\\
 +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:
 ''r.fillnulls input=dtm output=dtm_nonulls''\\ ''r.fillnulls input=dtm output=dtm_nonulls''\\
 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:\\
-''r.mapcalc 'mortality_multiplier_south_france_v2 = if( (regions == 53 || regions == 61 || regions == 62 || regions == 63 || regions == 71 || regions == 72 || regions == 81 || regions == 82 || regions == 83) && (dtm_nonulls <= 1000), 2.0, 1.0)''' (attention to the <= symbol if copy/pasted)+''r.mapcalc 'mortality_multiplier_south_france_v2 = if( (regions == 53 || regions == 61 || regions == 62 || regions == 71 || regions == 81 || regions == 82 || regions == 83) && (dtm_nonulls <= 1000), 2.0, 1.0)''' (attention to the <= symbol if copy/pasted)
  
 ===== Maps rasterisation and Corine Land Cover map ===== ===== Maps rasterisation and Corine Land Cover map =====
en/doc/gisdata.1435735459.txt.gz · Last modified: 2018/06/18 16:44 (external edit)