{ "id": "WCPSAdapter", "title" : "MOAW-WCPS translator", "version": "1.1.0", "jobControlOptions": [ "sync-execute" ], "outputTransmission" : [ "value" ], "description": "This process integrates a WCPS service as part of a MOAW workflow.", "links": [ { "rel": "http://www.opengis.net/def/rel/ogc/1.0/execute", "href": "https://maps.gnosis.earth/ogcapi/processes/WCPSAdapter/execution", "type": "application/json", "title": "Execution endpoint" } ], "keywords": [ "process", "wcps", "adapter", "translator" ], "inputs": { "wcps" : { "title": "Url of the wcps server.", "description": "The url where the WCPS script execution service is listening.", "minOccurs" : 1, "maxOccurs" : 1, "schema" : { "type" : "string" } }, "data" : { "title" : "sources", "description" : "Full URL for the geographic data collections to use: substituted in the code in place of %{0}, %{1},..., %{n} in the order of immission.", "minOccurs" : 1, "maxOccurs" : "unbounded", "schema" : { "oneOf": [ { "type": "string", "contentEncoding": "binary", "contentMediaType": "image/tiff; application=geotiff" } ] } }, "code" : { "title": "Core code of the script", "description": "The script to be executed by the WCPS server.\nCertain placeholders of the form %{*} within the script will be substituted with tile-specific parameters before sending the script.\n %{0}, %{1},..., %{n} stand for the nth source passed in via the 'data' parameter, %{tileLon} and %{tileLat} stand for the longitude and latitude extents of the tile being requested eg: 12:13,\n %{lonRange} and %{latRange} stand for the longitude and latitude extents of the part of the tile that overlaps with all the data sources, \n %{timeRange} stand for the time slice that is being requested, double quotes are automatically added (no trimming support at present),\n %{pxWidth} and %{pxHeight} stand for the hight and width in pixels that the output is expected to have,\n %{encFormat} stands for the format the result shall be encoded in eg: image/tiff. (double quotes are added automatically).\nIt is not mandatory to use the placeholders (eg collections known to the server can be hardcoded), but if they are not present the output cannot change based on the propertries of the requested tile.", "minOccurs" : 1, "maxOccurs" : 1, "schema" : { "type" : "string" } }, "bands" : { "title" : "Band names.", "description" : "The names of the bands present in the output.\nIf omitted, the client can assume only one band is present.\nIf present, the order of the names must match the order of the bands in the output.", "minOccurs" : 0, "maxOccurs" : "unbounded", "schema" : { "type" : "string" } } }, "outputs": { "result": { "title": "result", "description": "The processed coverage", "schema" : { "oneOf" : [ { "type": "string", "contentEncoding": "binary", "contentMediaType": "image/tiff; application=geotiff" }, { "type": "string", "contentEncoding": "binary", "contentMediaType": "image/png" } ] } } } }