Terraflux Terraflux
Download

Forest Code (Brazil)

2 operators. Inputs marked required must be connected or given; the others have defaults.

forest_code.app#

The Áreas de Preservação Permanente of Brazil's Forest Code (Lei 12.651/2012, art. 4): the margins of rivers from the channel's edge by their width (30 m below 10 m wide, 50 m to 50, 100 m to 200, 200 m to 600, 500 m beyond), of natural lakes by their area (100 m, 50 m up to 20 ha; 30 m in urban zones), 50 m around springs and from veredas, slopes above 45°, hilltops, land above 1,800 m and protected classes (mangroves, restingas); in rural areas consolidated by 22 July 2008, art. 61-A's narrower margins by the property's fiscal modules (rivers and lakes 5, 8 and 15 m up to 1, 2 and 4 modules, lakes 30 m and rivers the programme's width beyond; springs 15 m; veredas 30 or 50 m). In map units of metres.

InputTypeWhat it is
riversmapthe rivers' channels (non-zero)
river_widthmapthe width of the river at its cells, metres
lakesmapthe natural lakes and lagoons (non-zero)
urbanmapthe urban zones (non-zero): lakes' margins of 30 m
springsvectorthe springs (points)
veredasmapthe veredas' flooded areas (non-zero)
slopemapthe slope, degrees (above 45°)
elevationmapthe elevation, metres (above 1,800 m)
hilltopsmapthe hilltops' APPs (surface.hilltop, non-zero)
landcovermapthe land cover, for the protected classes
propertiesmapthe rural properties (ids), for the consolidated areas
consolidatedmapthe rural areas consolidated by 2008 (non-zero)
OutputTypeWhat it is
appmapthe APP of every cell: 1 river, 2 lake, 3 spring, 4 vereda, 5 slope, 6 hilltop, 7 altitude, 8 protected class (the first that applies); 0 none
tabletablea row per kind: kind (1-8), cells, area_ha (overlaps in each)
SettingTypeWhat it is
river_widthnumberthe rivers' width without a map, metres (default 5)
protected_classesanythe classes of landcover that are APP (a list)
fiscal_modulenumberthe fiscal module, hectares (with consolidated)
over_four_modulesnumberthe river margin of consolidated areas of properties above 4 modules, metres (default 20: the PRA's, 20 to 100)

forest_code.reserve#

The balance of every rural property's Reserva Legal (Lei 12.651/2012): the share of its area it must keep in native vegetation (art. 12: 80% in the Amazon's forests, 35% in its cerrado, 20% in its campos gerais and the rest of the country; a map of the share, or one for all), its native vegetation counted outside the APPs and, as art. 15 allows, inside them, and its deficit or surplus; the properties of up to 4 fiscal modules on 22 July 2008 keep only the vegetation they had then (art. 67).

InputTypeWhat it is
propertiesrequiredmapthe rural properties (ids)
vegetationrequiredmapthe native vegetation (non-zero)
sharemapthe Reserva Legal's share of every cell, percent
appmapthe APPs (forest_code.app; non-zero)
vegetation_2008mapthe native vegetation of 22 July 2008 (art. 67)
OutputTypeWhat it is
tabletablea row per property: property, area_ha, modules, native_ha, app_ha, app_native_ha, share, required_ha, counted_ha, deficit_ha, surplus_ha
balancemapevery property's surplus (positive) or deficit (negative), ha
SettingTypeWhat it is
sharenumberthe share without a map, percent (default 20)
fiscal_modulenumberthe fiscal module, hectares (default 0: no art. 67)
count_appboolcount the native vegetation of the APPs (art. 15; true)