SAGA.shapes_polygons.7: Polygon Shape Indices

The tool calculates various indices describing the shape of polygons, mostly based on area, perimeter and maximum diameter. If the optional output 'Shape Indices' is not created, the tool attaches the attributes to the input dataset. Otherwise a new dataset is created and attributes existing in the input dataset are dropped.<ul><li><b>A</b> area</li><li><b>P</b> perimeter</li><li><b>P/A</b> interior edge ratio</li><li><b>P/sqrt(A)</b></li><li><b>Deqpc</b> equivalent projected circle diameter (=2*sqrt(A/pi))</li><li><b>Sphericity</b> the ratio of the perimeter of the equivalent circle to the real perimeter (=P/(2*sqrt(A*pi)))</li><li><b>Shape Index</b> the inverse of the spericity</li><li><b>Dmax</b> maximum diameter calculated as maximum distance between two polygon part's vertices</li><li><b>DmaxDir</b> direction of maximum diameter</li><li><b>Dmax/A</b></li><li><b>Dmax/sqrt(A)</b></li><li><b>Dgyros</b> diameter of gyration, calculated as twice the maximum vertex distance to its polygon part's centroid</li><li><b>Fmax</b> maximum Feret diameter</li><li><b>FmaxDir</b> direction of the maximum Feret diameter</li><li><b>Fmin</b> minimum Feret diameter</li><li><b>FminDir</b> direction of the minimum Feret diameter</li><li><b>Fmean</b> mean Feret diameter</li><li><b>Fmax90</b> the Feret diameter measured at an angle of 90 degrees to that of the Fmax direction</li><li><b>Fmin90</b> the Feret diameter measured at an angle of 90 degrees to that of the Fmin direction</li><li><b>Fvol</b> the diameter of a sphere having the same volume as the cylinder constructed by Fmin as the cylinder diameter and Fmax as its length</li></ul>

Inputs

Shapes

format
href
Please set a value for SHAPES.

Diameter of Gyration

boolean

Feret Diameters

boolean

Number of directions (0-90) to be analyzed.

integer

Outputs

Polygon shapefile with the calculated indices.

format
transmission

Line shapefile showing the maximum diameter.

format
transmission

Execution options

successUri
inProgressUri
failedUri

format

mode

Execute End Point

View the execution endpoint of a process.

View the alternative version in HTML.

{"id": "SAGA.shapes_polygons.7", "title": "Polygon Shape Indices", "description": "The tool calculates various indices describing the shape of polygons, mostly based on area, perimeter and maximum diameter. If the optional output 'Shape Indices' is not created, the tool attaches the attributes to the input dataset. Otherwise a new dataset is created and attributes existing in the input dataset are dropped.<ul><li><b>A</b> area</li><li><b>P</b> perimeter</li><li><b>P/A</b> interior edge ratio</li><li><b>P/sqrt(A)</b></li><li><b>Deqpc</b> equivalent projected circle diameter (=2*sqrt(A/pi))</li><li><b>Sphericity</b> the ratio of the perimeter of the equivalent circle to the real perimeter (=P/(2*sqrt(A*pi)))</li><li><b>Shape Index</b> the inverse of the spericity</li><li><b>Dmax</b> maximum diameter calculated as maximum distance between two polygon part's vertices</li><li><b>DmaxDir</b> direction of maximum diameter</li><li><b>Dmax/A</b></li><li><b>Dmax/sqrt(A)</b></li><li><b>Dgyros</b> diameter of gyration, calculated as twice the maximum vertex distance to its polygon part's centroid</li><li><b>Fmax</b> maximum Feret diameter</li><li><b>FmaxDir</b> direction of the maximum Feret diameter</li><li><b>Fmin</b> minimum Feret diameter</li><li><b>FminDir</b> direction of the minimum Feret diameter</li><li><b>Fmean</b> mean Feret diameter</li><li><b>Fmax90</b> the Feret diameter measured at an angle of 90 degrees to that of the Fmax direction</li><li><b>Fmin90</b> the Feret diameter measured at an angle of 90 degrees to that of the Fmin direction</li><li><b>Fvol</b> the diameter of a sphere having the same volume as the cylinder constructed by Fmin as the cylinder diameter and Fmax as its length</li></ul>", "version": "1.0.0", "jobControlOptions": ["sync-execute", "async-execute", "dismiss"], "outputTransmission": ["value", "reference"], "links": [{"rel": "http://www.opengis.net/def/rel/ogc/1.0/execute", "type": "application/json", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8119/ogc-api/processes/SAGA.shapes_polygons.7/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8119/ogc-api/processes/SAGA.shapes_polygons.7/execution.html"}], "inputs": {"SHAPES": {"title": "Shapes", "description": "Shapes", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "application/vnd.google-earth.kml+xml", "application/json"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}, "id": "SHAPES"}, "GYROS": {"title": "Diameter of Gyration", "description": "Diameter of Gyration", "schema": {"type": "boolean", "default": false, "enum": ["true", "false"], "nullable": true}, "id": "GYROS"}, "FERET": {"title": "Feret Diameters", "description": "Feret Diameters", "schema": {"type": "boolean", "default": false, "enum": ["true", "false"], "nullable": true}, "id": "FERET"}, "FERET_DIRS": {"title": "Number of Directions", "description": "Number of directions (0-90) to be analyzed.", "schema": {"type": "integer", "default": 18, "nullable": true}, "id": "FERET_DIRS"}}, "outputs": {"INDEX": {"title": "Shape Indices", "description": "Polygon shapefile with the calculated indices.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "application/vnd.google-earth.kml+xml", "application/json"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}, "id": "INDEX"}, "DMAX": {"title": "Maximum Diameter", "description": "Line shapefile showing the maximum diameter.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "application/vnd.google-earth.kml+xml", "application/json"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}, "id": "DMAX"}}}

http://tb17.geolabs.fr:8119/ogc-api/processes/SAGA.shapes_polygons.7.html
Last modified: Sat Feb 19 15:43:34 CET 2022