Centroid: Computes the centroid of a polygon.

This service shall return the point that is the geometric centre of gravity of the geometry InputPolygon.

Inputs

The centroid which is not necessarily within the geometry.

format
href
Please set a value for InputPolygon.

Outputs

JSON String / GML Entity of the centroid

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": "Centroid", "title": "Computes the centroid of a polygon. ", "description": "This service shall return the point that is the geometric centre of gravity of the geometry InputPolygon.", "version": "2.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://demo.mapmint.com/ogc-api/processes/Centroid/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/Centroid/execution.html"}], "inputs": {"InputPolygon": {"title": "Polygon to get the centroid", "description": "The centroid which is not necessarily within the geometry.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "text/xml"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "UTF-8", "contentMediaType": "text/xml", "contentSchema": "http://fooa/gml/3.1.0/polygon.xsd"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/xml", "contentSchema": "http://fooa/gml/3.1.0/polygon.xsd"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "UTF-8", "contentMediaType": "text/xml", "contentSchema": "http://fooa/gml/3.1.0/polygon.xsd"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/xml", "contentSchema": "http://fooa/gml/3.1.0/polygon.xsd"}]}, "metadata": [{"title": "Mon test "}], "id": "InputPolygon"}}, "outputs": {"Result": {"title": "The Centroid", "description": "JSON String / GML Entity of the centroid", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "application/json"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "UTF-8", "contentMediaType": "text/xml", "contentSchema": "http://fooa/gml/3.1.0/point.xsd"}, {"type": "object"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "UTF-8", "contentMediaType": "text/xml", "contentSchema": "http://fooa/gml/3.1.0/point.xsd"}, {"type": "object"}]}, "metadata": [{"title": "Mon test "}], "id": "Result"}}}

http://demo.mapmint.com/ogc-apihttp://localhost/ogc-api/localhost/ogc-api/processes/Centroid.html
Last modified: Sat Feb 19 15:43:34 CET 2022