Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
computo indice boscosità ES09 lezionigis - https://www.lezionigis.it/es09/
{
"values": {
"inputs": {
"comuni": {
"values": {
"pos": {
"values": {
"y": 60.0,
"x": 341.0
},
"class": "point"
},
"param": {
"values": {
"isAdvanced": false,
"name": "comuni",
"shapetype": [
2
],
"default": null,
"value": null,
"exported": null,
"hidden": false,
"optional": false,
"description": "Comuni"
},
"class": "processing.core.parameters.ParameterVector"
}
},
"class": "processing.modeler.ModelerAlgorithm.ModelerParameter"
},
"clc": {
"values": {
"pos": {
"values": {
"y": 60.0,
"x": 120.0
},
"class": "point"
},
"param": {
"values": {
"isAdvanced": false,
"name": "clc",
"shapetype": [
2
],
"default": null,
"value": null,
"exported": null,
"hidden": false,
"optional": false,
"description": "CLC"
},
"class": "processing.core.parameters.ParameterVector"
}
},
"class": "processing.modeler.ModelerAlgorithm.ModelerParameter"
}
},
"helpContent": {},
"group": "lezionigis",
"name": "indice_boscosita",
"algs": {
"QGISFIELDCALCULATOR_1": {
"values": {
"name": "QGISFIELDCALCULATOR_1",
"paramsFolded": true,
"outputs": {},
"outputsFolded": true,
"pos": {
"values": {
"y": 222.0,
"x": 441.0
},
"class": "point"
},
"dependencies": [],
"params": {
"FIELD_TYPE": 0,
"NEW_FIELD": true,
"INPUT_LAYER": {
"values": {
"name": "comuni"
},
"class": "processing.modeler.ModelerAlgorithm.ValueFromInput"
},
"FIELD_PRECISION": 3.0,
"FIELD_LENGTH": 10.0,
"FORMULA": "$area",
"FIELD_NAME": "area_com"
},
"active": true,
"consoleName": "qgis:fieldcalculator",
"description": "computo superficie"
},
"class": "processing.modeler.ModelerAlgorithm.Algorithm"
},
"QGISFIELDCALCULATOR_2": {
"values": {
"name": "QGISFIELDCALCULATOR_2",
"paramsFolded": true,
"outputs": {
"OUTPUT_LAYER": {
"values": {
"description": "indice_boscosita",
"pos": {
"values": {
"y": 628.0,
"x": 950.0
},
"class": "point"
}
},
"class": "processing.modeler.ModelerAlgorithm.ModelerOutput"
}
},
"outputsFolded": true,
"pos": {
"values": {
"y": 583.0,
"x": 750.0
},
"class": "point"
},
"dependencies": [],
"params": {
"FIELD_TYPE": 0,
"NEW_FIELD": true,
"INPUT_LAYER": {
"values": {
"alg": "QGISDISSOLVE_1",
"output": "OUTPUT"
},
"class": "processing.modeler.ModelerAlgorithm.ValueFromOutput"
},
"FIELD_PRECISION": 3.0,
"FIELD_LENGTH": 10.0,
"FORMULA": "($area/area_com)*100",
"FIELD_NAME": "indice"
},
"active": true,
"consoleName": "qgis:fieldcalculator",
"description": "Indice"
},
"class": "processing.modeler.ModelerAlgorithm.Algorithm"
},
"QGISEXTRACTBYEXPRESSION_1": {
"values": {
"name": "QGISEXTRACTBYEXPRESSION_1",
"paramsFolded": true,
"outputs": {},
"outputsFolded": true,
"pos": {
"values": {
"y": 221.0,
"x": 168.0
},
"class": "point"
},
"dependencies": [],
"params": {
"INPUT": {
"values": {
"name": "clc"
},
"class": "processing.modeler.ModelerAlgorithm.ValueFromInput"
},
"EXPRESSION": "liv_3 like 'Boschi %'"
},
"active": true,
"consoleName": "qgis:extractbyexpression",
"description": "filtro"
},
"class": "processing.modeler.ModelerAlgorithm.Algorithm"
},
"QGISDISSOLVE_1": {
"values": {
"name": "QGISDISSOLVE_1",
"paramsFolded": true,
"outputs": {},
"outputsFolded": true,
"pos": {
"values": {
"y": 483.0,
"x": 530.0
},
"class": "point"
},
"dependencies": [],
"params": {
"INPUT": {
"values": {
"alg": "QGISINTERSECTION_1",
"output": "OUTPUT"
},
"class": "processing.modeler.ModelerAlgorithm.ValueFromOutput"
},
"DISSOLVE_ALL": false,
"FIELD": "COMUNE"
},
"active": true,
"consoleName": "qgis:dissolve",
"description": "Dissolve"
},
"class": "processing.modeler.ModelerAlgorithm.Algorithm"
},
"QGISINTERSECTION_1": {
"values": {
"name": "QGISINTERSECTION_1",
"paramsFolded": true,
"outputs": {},
"outputsFolded": true,
"pos": {
"values": {
"y": 374.0,
"x": 379.0
},
"class": "point"
},
"dependencies": [],
"params": {
"INPUT2": {
"values": {
"alg": "QGISFIELDCALCULATOR_1",
"output": "OUTPUT_LAYER"
},
"class": "processing.modeler.ModelerAlgorithm.ValueFromOutput"
},
"INPUT": {
"values": {
"alg": "QGISEXTRACTBYEXPRESSION_1",
"output": "OUTPUT"
},
"class": "processing.modeler.ModelerAlgorithm.ValueFromOutput"
},
"IGNORE_NULL": false
},
"active": true,
"consoleName": "qgis:intersection",
"description": "Intersection"
},
"class": "processing.modeler.ModelerAlgorithm.Algorithm"
}
}
},
"class": "processing.modeler.ModelerAlgorithm.ModelerAlgorithm"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment