@prefix SchemaDefRequirement: <https://w3id.org/cwl/cwl#SchemaDefRequirement/> .
@prefix CommandLineBinding: <https://w3id.org/cwl/cwl#CommandLineBinding/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix DockerRequirement: <https://w3id.org/cwl/cwl#DockerRequirement/> .
@prefix Workflow: <https://w3id.org/cwl/cwl#Workflow/> .
@prefix sld:   <https://w3id.org/cwl/salad#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix CommandOutputBinding: <https://w3id.org/cwl/cwl#CommandOutputBinding/> .
@prefix ns2:   <https://dfg-sos.github.io/ontologies/cwl#> .
@prefix ns1:   <http://commonwl.org/cwltool#> .
@prefix SecondaryFileSchema: <https://w3id.org/cwl/cwl#SecondaryFileSchema/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ScatterMethod: <https://w3id.org/cwl/cwl#ScatterMethod/> .
@prefix cwl:   <https://w3id.org/cwl/cwl#> .
@prefix ResourceRequirement: <https://w3id.org/cwl/cwl#ResourceRequirement/> .
@prefix ExpressionTool: <https://w3id.org/cwl/cwl#ExpressionTool/> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#multi_polygons>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputSource          <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons/mergedOutput> ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#debug>
        rdfs:comment  "Enable debug logging" ;
        sld:default   false ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl>
        a                        cwl:Workflow ;
        ns1:original_cwlVersion  "v1.2" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output> ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graphBinaries> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#maxComponentsPerWorkload> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#componentsOutput> ;
        cwl:requirements         [ a                           cwl:SchemaDefRequirement ;
                                   SchemaDefRequirement:types  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput>
                                 ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:arguments            ( [ CommandLineBinding:prefix  "--config" ;
                                     cwl:valueFrom              "filters.json"
                                   ]
                                 ) ;
        cwl:arguments            ( [ CommandLineBinding:prefix  "--config" ;
                                     cwl:valueFrom              "filters.json"
                                   ]
                                 ) ;
        cwl:baseCommand          ( "FishnetVectorFilePreprocessor" ) ;
        cwl:baseCommand          ( "FishnetVectorFilePreprocessor" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/descartesresearch/fishnet-apps:2.3.0"
                                 ] ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/descartesresearch/fishnet-apps:2.3.0"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#skipFilter> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#vectorFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#minArea> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#dropContainedPolygons> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#filteredVectorFile> ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a            cwl:InitialWorkDirRequirement ;
                                   cwl:listing  [ cwl:entry      "${\n  var filters = [];\n  if (inputs.minArea !== null) {\n    filters.push({\"type\": \"ApproxAreaFilter\", \"required-area\": inputs.minArea});\n  }\n  if (inputs.dropContainedPolygons) {\n    filters.push({\"type\": \"InsidePolygonFilter\"});\n  }\n  return JSON.stringify({\"filters\": filters}, null, 2);\n}" ;
                                                  cwl:entryname  "filters.json"
                                                ]
                                 ] ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    1024
                                 ] ;
        cwl:requirements         [ a            cwl:InitialWorkDirRequirement ;
                                   cwl:listing  [ cwl:entry      "${\n  var filters = [];\n  if (inputs.minArea !== null) {\n    filters.push({\"type\": \"ApproxAreaFilter\", \"required-area\": inputs.minArea});\n  }\n  if (inputs.dropContainedPolygons) {\n    filters.push({\"type\": \"InsidePolygonFilter\"});\n  }\n  return JSON.stringify({\"filters\": filters}, null, 2);\n}" ;
                                                  cwl:entryname  "filters.json"
                                                ]
                                 ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    1024
                                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#maxNeighborsPerNode>
        rdfs:comment      "Maximum number of edges per settlement. Required by the BUFFER_SWEEP mode, ignored by DELAUNAY" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--max-neighbors-per-node" ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#initialBuffer>
        rdfs:comment      "Width in meters of the buffer grown around each settlement before it is eroded back to buffer. Defaults to 100.0 when omitted" ;
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "--initial-buffer"
                          ] ;
        sld:type          xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#maxComponentsPerWorkload>
        rdfs:comment  "Maximum number of graph components assigned to a single clustering task" ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload>
        sld:fields  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload/additionalInput> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload/primaryInput> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload/graphBinary>
        sld:type  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#initialBuffer>
        rdfs:comment  "Width in meters of the buffer grown around each settlement before it is eroded back to outlineBuffer" ;
        sld:default   1e+02 ;
        sld:type      xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/workload>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#workload> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#maxNeighborsPerNode>
        rdfs:comment  "Maximum number of edges per settlement. Required by the BUFFER_SWEEP mode, ignored by DELAUNAY" ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#graphBinary>
        cwl:outputBinding  [ CommandOutputBinding:glob  "*.bin" ;
                             CommandOutputBinding:outputEval
                                     "$(self[0])"
                           ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/run/files>
        rdfs:comment              "List of vector files to be used for assigning the workload for the clustering step" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/graphBinaries>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graphBinaries> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/clusterWorkloadFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/graphWorkloadFiles> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/componentsOutput> ;
        cwl:run  [ a                          cwl:ExpressionTool ;
                   ExpressionTool:expression  "${\n  function filesToMap(fileArray){\n    const result = {};\n    fileArray.forEach(f => {\n      result[f.nameroot] = f;\n    });\n    return result;\n  }\n  const clusterWorkloadFileMap = filesToMap(inputs.clusterWorkloadFiles);\n  const graphWorkloadFileMap = filesToMap(inputs.graphWorkloadFiles);\n  console.log(\"Graph workload files: \", graphWorkloadFileMap);\n  const componentsOutput = Object.keys(clusterWorkloadFileMap).map(basename => {\n    return {\n      \"workloadJson\": clusterWorkloadFileMap[basename],\n      \"graphBinary\": graphWorkloadFileMap[basename]\n    }\n  });\n  console.log(\"Components output: \", componentsOutput);\n  return {\"componentsOutput\": componentsOutput};\n}\n" ;
                   cwl:inputs                 <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/run/clusterWorkloadFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/run/graphWorkloadFiles> ;
                   cwl:outputs                <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/run/componentsOutput> ;
                   cwl:requirements           [ a  cwl:InlineJavascriptRequirement ] ;
                   cwl:requirements           [ a  cwl:InlineJavascriptRequirement ]
                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/buffer>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstBuffer> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls/outputPath> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls/vectorFiles> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls/mergedOutput> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#distanceThreshold>
        rdfs:comment      "Maximum distance in meters between two settlements of the same cluster" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--distance-threshold" ] ;
        sld:type          xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:baseCommand          ( "SympolisGraphConstruction" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/dfg-sos/sympolis:latest"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#primaryInput> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#mode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#additionalInput> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#distanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#maxNeighborsPerNode> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#graphBinary> ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    4096
                                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/run/clusterWorkload>
        rdfs:comment  "Parsed ClusterWorkload object" ;
        sld:type      <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls/outputPath>
        cwl:pickValue  "the_only_non_null" ;
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#shapefile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#vectorFile> ;
        cwl:valueFrom  "$(\"./\"+self.nameroot+\"_Sympolis\")" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/beta>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscBeta> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#debug>
        rdfs:comment  "Enable debug logging in every step of the workflow" ;
        sld:default   false ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/run/clusterWorkloadFiles>
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/depth> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/shapefile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/vectorFile> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/split_files> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#vectorFiles>
        rdfs:comment              "List of vector files to be used for graph construction. Each polygon must be associated with a unique FISHNET ID." ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#graphBinary>
        rdfs:comment      "Binary file containing the graph structure of the components to be clustered" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "-g" ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/graphBinaries> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/maxComponentsPerWorkload> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/componentsOutput> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#debug>
        rdfs:comment      "Enable debug logging" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--debug" ] ;
        sld:default       false ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl#outputPath>
        rdfs:comment      "Output filename for result (Vectorfile)" ;
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "-o" ;
                            cwl:valueFrom                "$(self+\".gpkg\")"
                          ] ;
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "-o" ;
                            cwl:valueFrom                "$(self+\".gpkg\")"
                          ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscAttributeMapper>
        rdfs:comment  "Settlement attribute combined with the spatial distance by the DBSC mode. Defaults to NONE" ;
        sld:type      sld:null ;
        sld:type      [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscAttributeMapper/AREA> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscAttributeMapper/NONE> ;
                        sld:type     sld:enum
                      ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/run/componentsOutput>
        sld:type  [ sld:items  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput> ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput> ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#debug>
        rdfs:comment      "Enable debug logging" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--debug" ] ;
        sld:default       false ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload/primaryInput>
        sld:type  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#split_files>
        rdfs:comment              "Split output GeoPackage files" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputBinding         [ CommandOutputBinding:glob
                          "$((inputs.shapefile|| inputs.vectorFile).nameroot)*.gpkg" ] ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload/additionalInput>
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl#mergedOutput>
        rdfs:comment       "Merged output file" ;
        cwl:format         <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(inputs.outputPath).gpkg" ] ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(inputs.outputPath).gpkg" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/minClusterSize>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#minClusterSize> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/files>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#files> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#graphBinaries>
        cwl:outputSource  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/graphBinary> ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#partitionDepth>
        rdfs:comment  "Depth of the quadrant splitting applied to the input, creating 4^partitionDepth tiles which\nthe following steps process in parallel.\n" ;
        sld:default   1 ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/dropContainedPolygons>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dropContainedPolygons> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mstBuffer>
        rdfs:comment  "Width in meters of the buffer applied to the MST edges connecting the settlements of a cluster. Defaults to 30.0" ;
        sld:type      xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph>
        cwl:in             <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/primaryInput> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/graph_construction_workload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/maxNeighborsPerNode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/distanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/additionalInput> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/mode> ;
        cwl:out            <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/graphBinary> ;
        cwl:run            <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl> ;
        cwl:scatter        ( <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/graph_construction_workload> ) ;
        cwl:scatterMethod  ScatterMethod:dotproduct .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput/graphBinary>
        sld:type  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/minArea>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#minArea> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#maxComponentsPerWorkload>
        rdfs:comment  "Maximum number of graph components assigned to a single clustering task. Defaults to 5000" ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl>
        a                        cwl:Workflow ;
        ns1:original_cwlVersion  "v1.2" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph> ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#filenamePrefix> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#maxNeighborsPerNode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#vectorFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#distanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#mode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#debug> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#graphBinaries> ;
        cwl:requirements         [ a                           cwl:SchemaDefRequirement ;
                                   SchemaDefRequirement:types  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload>
                                 ] ;
        cwl:requirements         [ a  cwl:StepInputExpressionRequirement ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a  cwl:ScatterFeatureRequirement ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/buffer>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#outlineBuffer> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/clusterWorkload>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/depth>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#partitionDepth> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/mode>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusteringMode> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering>
        cwl:in             <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/attributeMapper> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/files> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/workload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/mstBuffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/t1> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/beta> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/mode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/distanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/minClusterSize> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/debug> ;
        cwl:out            <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/clusteredOutput> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/clusterMSTs> ;
        cwl:run            <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl> ;
        cwl:scatter        ( <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/workload> ) ;
        cwl:scatterMethod  ScatterMethod:dotproduct .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl#vectorFiles>
        rdfs:comment      "List of input vector files, with their required secondary files (.dbf, .shx, .prj)" ;
        cwl:format        <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "-i" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "-i" ] ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#clusterWorkloadFiles>
        rdfs:comment       "Output file containing the associations of shapefiles to graph binaries of the graph" ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.json" ] ;
        sld:type           [ sld:items  cwl:File ;
                             sld:type   sld:array
                           ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/t1>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscT1> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#graphFile>
        rdfs:comment      "Input graph binary file" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "-g" ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#buffer>
        rdfs:comment      "Width in meters of the buffer applied to the MST edges. Defaults to 30.0 when omitted" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--buffer" ] ;
        sld:type          xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/graphBinary>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> ;
        cwl:valueFrom  "$(inputs.clusterWorkload.graphBinary)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#vectorFile>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "--input" ] ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "--input" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl>
        a                        cwl:Workflow ;
        ns1:original_cwlVersion  "v1.2" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization> ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#minClusterSize> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#beta> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstBuffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#t1> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#distanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#attributeMapper> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#files> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#workload> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clusteredOutput> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clusterMSTs> ;
        cwl:requirements         [ a                           cwl:SchemaDefRequirement ;
                                   SchemaDefRequirement:types  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput>
                                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#vectorFiles>
        rdfs:comment              "List of input vector files, with their required secondary files (.dbf, .shx, .prj)" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "-i" ] ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dropContainedPolygons>
        rdfs:comment  "Drop resulting urban areas which are fully contained in another one" ;
        sld:default   false ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#mstFile>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "-m" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/filenamePrefix> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/vectorFiles> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/graph_construction_workload> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#filenamePrefix>
        rdfs:comment  "Prefix used to identify the vector files. The prefix is used to extract the grid coordinates from the filenames." ;
        sld:type      xsd:string , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscT1>
        rdfs:comment  "Custom t1 threshold of the DBSC heuristic. Derived from the data when omitted" ;
        sld:type      xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#depth>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--depth" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#beta>
        rdfs:comment      "Order of the neighbourhood considered when trimming the settlement graph. Required by the DBSC mode" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--beta" ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#files>
        rdfs:comment              "List of vector files to be used for assigning the workload for the clustering" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#filteredVectorFile>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputBinding         [ CommandOutputBinding:glob
                          "*_filtered.gpkg" ] ;
        cwl:outputBinding         [ CommandOutputBinding:glob
                          "*_filtered.gpkg" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphDistanceThreshold>
        rdfs:comment  "Maximum distance in meters between two settlements sharing an edge" ;
        sld:default   2e+02 ;
        sld:type      xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#shapefile>
        rdfs:comment              "Input file to Sympolis workflow" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#Shapefile> ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern
                          "^.prj" ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern   "^.qpj" ;
                                    SecondaryFileSchema:required  false
                                  ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern
                          "^.dbf" ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern   "^.cpg" ;
                                    SecondaryFileSchema:required  false
                                  ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern
                          "^.shx" ] ;
        sld:type                  sld:null , cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscBeta>
        rdfs:comment  "Order of the neighbourhood considered when trimming the settlement graph. Required by the DBSC mode" ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/attributeMapper>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#attributeMapper> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/mode>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#mode> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons/outputPath> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons/vectorFiles> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons/mergedOutput> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#shapefile>
        rdfs:comment              "Input shapefile with required secondary files (.shx, .dbf, .prj)" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#Shapefile> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "--input" ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern   "^.cpg" ;
                                    SecondaryFileSchema:required  false
                                  ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern
                          "^.dbf" ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern
                          "^.shx" ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern
                          "^.prj" ] ;
        cwl:secondaryFiles        [ SecondaryFileSchema:pattern   "^.qpj" ;
                                    SecondaryFileSchema:required  false
                                  ] ;
        sld:type                  sld:null , cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/distanceThreshold>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphDistanceThreshold> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/skipFilter>
        cwl:valueFrom  "$(true)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/graphBinaries>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/graphBinaries> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#maxComponentsPerWorkload>
        rdfs:comment      "Maximum number of graph components assigned to a single clustering task. Defaults to 5000 when omitted" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--max-components-per-workload" ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:arguments            ( [ CommandLineBinding:prefix  "-f" ;
                                     cwl:valueFrom              "GEOPACKAGE"
                                   ]
                                 ) ;
        cwl:baseCommand          ( "FishnetVectorFileSplitter" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/descartesresearch/fishnet-apps:2.3.0"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#vectorFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#depth> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#shapefile> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#split_files> ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    8192
                                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter>
        cwl:in       <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/vectorFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/minArea> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/dropContainedPolygons> ;
        cwl:out      <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/filteredVectorFile> ;
        cwl:run      <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl> ;
        cwl:scatter  ( <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/vectorFile> ) .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#debug>
        rdfs:comment      "Enable debug logging" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--debug" ] ;
        sld:default       false ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#minArea>
        rdfs:comment  "Drop settlement polygons covering less than this area in square meters. No area filter is applied when omitted" ;
        sld:type      xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter>
        cwl:in       <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/vectorFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/skipFilter> ;
        cwl:out      <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/filteredVectorFile> ;
        cwl:run      <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl> ;
        cwl:scatter  ( <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/vectorFile> ) .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons/vectorFiles>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/clusteredOutput> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/maxComponentsPerWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/graphBinaries> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/clusterWorkloadFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/graphWorkloadFiles> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl>
        a                        cwl:Workflow ;
        ns1:original_cwlVersion  "v1.2" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split> ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#maxNeighborsPerNode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusteringMode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#maxComponentsPerWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dropContainedPolygons> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#vectorFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#partitionDepth> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#minClusterSize> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#minArea> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#initialBuffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscT1> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mstBuffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#shapefile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphConstructionMode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#outlineBuffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphDistanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusterDistanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscAttributeMapper> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscBeta> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#sympolis> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#multi_polygons> ;
        cwl:requirements         [ a  cwl:StepInputExpressionRequirement ] ;
        cwl:requirements         [ a                           cwl:SchemaDefRequirement ;
                                   SchemaDefRequirement:types  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput>
                                 ] ;
        cwl:requirements         [ a  cwl:SubworkflowFeatureRequirement ] ;
        cwl:requirements         [ a  cwl:MultipleInputFeatureRequirement ] ;
        cwl:requirements         [ a  cwl:ScatterFeatureRequirement ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#geometryFiles>
        rdfs:comment              "Input vector files to visualize the edges of the graph" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "-i" ] ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/vectorFiles>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> ;
        cwl:valueFrom  "$(inputs.clusterWorkload.vectorFiles)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/geometryFiles>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> ;
        cwl:valueFrom  "$(inputs.clusterWorkload.vectorFiles)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput/workloadJson>
        cwl:loadContents  true ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#t1>
        rdfs:comment  "Custom t1 threshold of the DBSC heuristic" ;
        sld:type      xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#mode>
        rdfs:comment      "Clustering algorithm applied to the settlement graph.\nBFS retrieves the connected components of the subgraph whose edges comply with the distance\nthreshold.\nDBSCAN retrieves density based clusters, classifying settlements of clusters smaller than\nminClusterSize as noise.\nDBSC adopts DBSCAN and trims the settlement graph with a heuristic over the beta-order\nneighbourhood of each settlement, optionally combining distance with an attribute.\n" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--mode" ] ;
        sld:type          [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#mode/BFS> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#mode/DBSC> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#mode/DBSCAN> ;
                            sld:type     sld:enum
                          ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl#filenamePrefix>
        sld:type  xsd:string , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/attributeMapper>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#dbscAttributeMapper> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#minClusterSize>
        rdfs:comment      "Minimum number of settlements per cluster. Settlements of smaller clusters are classified as noise. Required by the DBSCAN and DBSC modes" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--min-cluster-size" ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#sympolis>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputSource          <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls/mergedOutput> ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload/vectorFiles>
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/run/workload>
        sld:type  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/filenamePrefix>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#filenamePrefix> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl>
        a                          cwl:ExpressionTool ;
        ns1:original_cwlVersion    "v1.2" ;
        ExpressionTool:expression  "${\nclass Coordinate{\n    constructor(x,y){\n        this.x = x;\n        this.y = y;\n    }\n    infinityDistance(other) {\n        return Math.max(Math.abs(this.x-other.x),Math.abs(this.y-other.y));\n    }\n\n    toString() {\n        return this.x+\",\"+this.y;\n    }\n};\n\nfunction stringToCoordinate(coordinateString){\n    return new Coordinate(...coordinateString.split(\",\").map(Number));\n}\n\nfunction shapefileObjectToCoordinate(filename,prefix){\n    const regex = new RegExp(`${prefix}_(\\\\d+)_(\\\\d+)_.*`);\n    const match = filename.match(regex);\n    if (match) {\n        return new Coordinate(parseInt(match[1]), parseInt(match[2]));\n    }\n    throw new Error(\"Could not parse grid coordinates from filename \\\"\"+filename+\"\\\" with prefix \\\"\"+prefix+\"\\\"\");\n}\nfunction neighbouringVectorFiles(vectorFiles, prefix){\n    const shapefileCoordinateMap = {};\n    vectorFiles.forEach(s => {\n        const nameroot = s.nameroot;\n        const coordinate = shapefileObjectToCoordinate(nameroot,prefix);\n        shapefileCoordinateMap[coordinate] = s;\n    });\n    return Object.keys(shapefileCoordinateMap).map(coordinate => {\n        const primaryInput = shapefileCoordinateMap[coordinate];\n        const currentCoordinate = stringToCoordinate(coordinate);\n        const additionalInput = Object.keys(shapefileCoordinateMap).filter(other => {\n            const distance = stringToCoordinate(other).infinityDistance(currentCoordinate);\n            return distance > 0 && distance <=1;\n        }).map(c => shapefileCoordinateMap[c]);\n        if(additionalInput.length == 0){\n            return {\n                \"primaryInput\":primaryInput,\n                \"additionalInput\":null\n            };\n        }\n        else return {\n            \"primaryInput\":primaryInput,\n            \"additionalInput\":additionalInput\n        };\n    });\n}\n// TODO make it work even when no prefix is given\nconst result = neighbouringVectorFiles(inputs.vectorFiles,inputs.filenamePrefix);\nreturn {\"graph_construction_workload\":result};\n}" ;
        cwl:cwlVersion             cwl:v1.2 ;
        cwl:inputs                 <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl#vectorFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl#filenamePrefix> ;
        cwl:outputs                <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl#graph_construction_workload> ;
        cwl:requirements           [ a                           cwl:SchemaDefRequirement ;
                                     SchemaDefRequirement:types  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload>
                                   ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/distanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/outputStem> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/graphBinary> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/attributeMapper> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/clusterWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/t1> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/minClusterSize> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/beta> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/mode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/vectorFiles> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/clusteredOutput> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#minClusterSize>
        rdfs:comment  "Minimum number of settlements per cluster. Required by the DBSCAN and DBSC modes" ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:baseCommand          ( "SympolisGraphComponents" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/dfg-sos/sympolis:latest"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#maxComponentsPerWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#graphBinaries> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#debug> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#graphWorkloadFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#clusterWorkloadFiles> ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    4096
                                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/beta>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#beta> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#mode>
        rdfs:comment  "Method used to connect neighbouring settlements" ;
        sld:type      [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#mode/BUFFER_SWEEP> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#mode/DELAUNAY> ;
                        sld:type     sld:enum
                      ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#primaryInput>
        rdfs:comment              "Primary input, supplied as vector file object" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "-i" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/outputStem>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> ;
        cwl:valueFrom  "$(\"Edges_\"+ inputs.clusterWorkload.graphBinary.nameroot)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/graphFile>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> ;
        cwl:valueFrom  "$(inputs.clusterWorkload.graphBinary)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#debug>
        rdfs:comment  "Enable debug logging" ;
        sld:default   false ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#distanceThreshold>
        rdfs:comment      "Maximum distance in meters between two settlements sharing an edge" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--distance-threshold" ] ;
        sld:type          xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/vectorFiles>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#vectorFiles> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/maxNeighborsPerNode>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#maxNeighborsPerNode> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/buffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/clusterWorkload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/graphFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/outputStem> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/geometryFiles> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/mstVectorFile> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusteringMode>
        rdfs:comment  "Clustering algorithm applied to the settlement graph.\nBFS retrieves the connected components of the subgraph whose edges comply with\nclusterDistanceThreshold.\nDBSCAN retrieves density based clusters, classifying settlements of clusters smaller than\nminClusterSize as noise.\nDBSC adopts DBSCAN and trims the settlement graph with a heuristic over the beta-order\nneighbourhood of each settlement, optionally combining distance with an attribute.\n" ;
        sld:default   "DBSCAN" ;
        sld:type      [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusteringMode/BFS> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusteringMode/DBSC> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusteringMode/DBSCAN> ;
                        sld:type     sld:enum
                      ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/graph_construction_workload>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/graph_construction_workload> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/vectorFiles>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/filteredVectorFile> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#clusteredOutput>
        rdfs:comment              "Clustering output vector file" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputBinding         [ CommandOutputBinding:glob
                          "$(inputs.outputStem).gpkg" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/maxComponentsPerWorkload>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#maxComponentsPerWorkload> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#workload>
        rdfs:comment  "Object containing the json workload definition and the graph file" ;
        sld:type      <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:baseCommand          ( "SympolisMSTVisualization" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/dfg-sos/sympolis:latest"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#geometryFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#outputStem> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#buffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#graphFile> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#mstVectorFile> ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    4096
                                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/filenamePrefix>
        cwl:pickValue  "the_only_non_null" ;
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#shapefile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#vectorFile> ;
        cwl:valueFrom  "$(self.nameroot)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#vectorFile>
        rdfs:comment              "Input GeoPackage file to Sympolis workflow" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        sld:type                  cwl:File , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/mode>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mode> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#additionalInput>
        rdfs:comment              "List of additional input vector files in proximity to the primary input, with their required secondary files (.dbf, .shx, .prj)" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "-a" ] ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/mstBuffer>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mstBuffer> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#graphWorkloadFiles>
        rdfs:comment       "Output file containing the binary representation of the graph components, to be used as input for the clustering step" ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.bin" ] ;
        sld:type           [ sld:items  cwl:File ;
                             sld:type   sld:array
                           ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#graphBinaries>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "-g" ] ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/minClusterSize>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#minClusterSize> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:baseCommand          ( "SympolisPolygonOutline" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/dfg-sos/sympolis:latest"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#buffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#mstFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#initialBuffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#vectorFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#debug> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#outlineVectorFile> ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    8192
                                 ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#mode>
        rdfs:comment      "Method used to connect neighbouring settlements.\nBUFFER_SWEEP sweeps a buffer over the settlements, connecting each of them to up to\nmaxNeighborsPerNode others within the distance threshold.\nDELAUNAY triangulates the centroids of the settlements and keeps the edges within the\ndistance threshold.\n" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--mode" ] ;
        sld:type          [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#mode/BUFFER_SWEEP> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionTool.cwl#mode/DELAUNAY> ;
                            sld:type     sld:enum
                          ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization>
        cwl:in             <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/initialBuffer> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/mstFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/vectorFile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/buffer> ;
        cwl:out            <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/outlineVectorFile> ;
        cwl:run            <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl> ;
        cwl:scatter        ( <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/vectorFile> <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/mstFile> ) ;
        cwl:scatterMethod  ScatterMethod:dotproduct .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clusteredOutput>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:outputSource          <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/clusteredOutput> ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#outlineBuffer>
        rdfs:comment  "Width in meters of the buffer remaining around the settlements of a cluster after erosion" ;
        sld:default   3e+01 ;
        sld:type      xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#distanceThreshold>
        rdfs:comment  "Maximum distance in meters between two settlements sharing an edge" ;
        sld:type      xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload>
        sld:fields  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload/graphBinary> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ClusterWorkload.yaml#ClusterWorkload/vectorFiles> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/clusterWorkloadFiles>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/clusterWorkloadFiles> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/mode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/filenamePrefix> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/vectorFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/maxNeighborsPerNode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/distanceThreshold> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/graphBinaries> ;
        cwl:run  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/distanceThreshold>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#distanceThreshold> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#debug>
        rdfs:comment  "Enable debug logging" ;
        sld:default   false ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#buffer>
        rdfs:comment      "Width in meters of the buffer remaining around the settlements of a cluster after erosion" ;
        cwl:inputBinding  [ CommandLineBinding:position  3 ;
                            CommandLineBinding:prefix    "--buffer"
                          ] ;
        sld:type          xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#minClusterSize>
        rdfs:comment  "Minimum number of settlements per cluster. Settlements of smaller clusters are classified as noise. Required by the DBSCAN and DBSC modes" ;
        sld:default   3 ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/vectorFile>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/outlineVectorFile> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/outputStem>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> ;
        cwl:valueFrom  "$(\"Clustered_\"+ inputs.clusterWorkload.graphBinary.nameroot)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/files>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/filteredVectorFile> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/debug>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#debug> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#componentsOutput>
        cwl:outputSource  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/componentsOutput> ;
        sld:type          [ sld:items  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput> ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:baseCommand          ( "SympolisSpatialClustering" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/dfg-sos/sympolis:latest"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#minClusterSize> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#attributeMapper> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#mode> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#distanceThreshold> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#debug> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#t1> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#beta> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#vectorFiles> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#graphBinary> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#outputStem> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#clusteredOutput> ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    4096
                                 ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graphBinaries>
        rdfs:comment  "List of graph binary files generated in the graph generation step" ;
        sld:type      [ sld:items  cwl:File ;
                        sld:type   sld:array
                      ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#filter/vectorFile>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/split_files> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput>
        sld:fields  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput/graphBinary> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/ComponentsOutput.yaml#ComponentsOutput/workloadJson> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#dropContainedPolygons>
        rdfs:comment  "Drop settlement polygons which are fully contained in another settlement polygon" ;
        sld:default   false ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/vectorFile>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#vectorFile> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload>
        cwl:in   <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/workload> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/files> ;
        cwl:out  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> ;
        cwl:run  [ a                          cwl:ExpressionTool ;
                   ExpressionTool:expression  "${\n    let workloadJson = JSON.parse(inputs.workload.workloadJson.contents);\n    let fileNames = [...new Set(workloadJson.files.map(file => file.split(\"/\").pop()))];\n    let files = fileNames.map(fileName => {\n        let fileObject = inputs.files.find(f => f.basename == fileName);\n        return fileObject;\n        });\n    let result = {\n        graphBinary: inputs.workload.graphBinary,\n        vectorFiles: files\n    };\n    return {\n        clusterWorkload: result,\n    };\n}\n" ;
                   cwl:inputs                 <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/run/files> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/run/workload> ;
                   cwl:outputs                <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/run/clusterWorkload>
                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusterDistanceThreshold>
        rdfs:comment  "Maximum distance in meters between two settlements of the same cluster" ;
        sld:default   2e+02 ;
        sld:type      xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#t1>
        rdfs:comment      "Custom t1 threshold of the DBSC heuristic. Derived from the data when omitted" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--t1" ] ;
        sld:type          xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#vectorFile>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "-i" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/distanceThreshold>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clusterDistanceThreshold> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/PolygonOutline.cwl#outlineVectorFile>
        rdfs:comment              "Output vector file with polygon outlines" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputBinding         [ CommandOutputBinding:glob
                          "*.gpkg" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/t1>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#t1> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/workload>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/componentsOutput> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#debug>
        rdfs:comment      "Enable debug logging" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--debug" ] ;
        sld:default       false ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/additionalInput>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/graph_construction_workload> ;
        cwl:valueFrom  "$(inputs.graph_construction_workload.additionalInput)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#attributeMapper>
        rdfs:comment      "Settlement attribute combined with the spatial distance by the DBSC mode. Defaults to NONE" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--attribute-mapper" ] ;
        sld:type          sld:null ;
        sld:type          [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#attributeMapper/AREA> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#attributeMapper/NONE> ;
                            sld:type     sld:enum
                          ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/vectorFile>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/clusteredOutput> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#distanceThreshold>
        rdfs:comment  "Maximum distance in meters between two settlements of the same cluster" ;
        sld:type      xsd:float .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/shapefile>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#shapefile> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/mstFile>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/clusterMSTs> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clustering/clusterWorkload>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#prepare_cluster_workload/clusterWorkload> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstBuffer>
        rdfs:comment  "Width in meters of the buffer applied to the MST edges" ;
        sld:type      xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#maxNeighborsPerNode>
        rdfs:comment  "Maximum number of edges per settlement. Required by the BUFFER_SWEEP mode" ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/mode>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphConstructionMode> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/graphWorkloadFiles>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#graph_components/graphWorkloadFiles> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/primaryInput>
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#prepare_workload/graph_construction_workload> ;
        cwl:valueFrom  "$(inputs.graph_construction_workload.primaryInput)" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponentsTool.cwl#debug>
        rdfs:comment      "Enable debug logging" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--debug" ] ;
        sld:default       false ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons/outputPath>
        cwl:pickValue  "the_only_non_null" ;
        cwl:source     <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#shapefile> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#vectorFile> ;
        cwl:valueFrom  "$(\"./\"+self.nameroot+\"_Sympolis_MultiPolygons\")" .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/maxComponentsPerWorkload>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#maxComponentsPerWorkload> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#attributeMapper>
        rdfs:comment  "Settlement attribute combined with the spatial distance by the DBSC mode" ;
        sld:type      sld:null ;
        sld:type      [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#attributeMapper/AREA> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#attributeMapper/NONE> ;
                        sld:type     sld:enum
                      ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl#graph_construction_workload>
        sld:type  [ sld:items  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionWorkload.yaml#GraphConstructionWorkload> ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#beta>
        rdfs:comment  "Order of the neighbourhood considered when trimming the settlement graph. Required by the DBSC mode" ;
        sld:type      xsd:int , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls/vectorFiles>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/filteredVectorFile> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetFilter.cwl#skipFilter>
        rdfs:comment      "Skip the filtering process and return the input vector file with Fishnet IDs as output" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--no-filter" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--no-filter" ] ;
        sld:default       false ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/distanceThreshold>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#distanceThreshold> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#generate_graph/maxNeighborsPerNode>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstruction.cwl#maxNeighborsPerNode> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphConstructionPreprocessing.cwl#vectorFiles>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        sld:type                  [ sld:items  cwl:File ;
                                    sld:type   sld:array
                                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#minArea>
        rdfs:comment  "Drop resulting urban areas covering less than this area in square meters. No area filter is applied when omitted" ;
        sld:type      xsd:float , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.2" ;
        cwl:baseCommand          ( "FishnetVectorFileMerger" ) ;
        cwl:baseCommand          ( "FishnetVectorFileMerger" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/descartesresearch/fishnet-apps:2.3.0"
                                 ] ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "ghcr.io/descartesresearch/fishnet-apps:2.3.0"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl#outputPath> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl#vectorFiles> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetMerge.cwl#mergedOutput> ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    8192
                                 ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a                             cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin  1 ;
                                   ResourceRequirement:ramMin    8192
                                 ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#mstVectorFile>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:outputBinding         [ CommandOutputBinding:glob
                          "$(inputs.outputStem + \"_mst.gpkg\")" ] ;
        sld:type                  cwl:File .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/MSTVisualization.cwl#outputStem>
        rdfs:comment      "Output stem for the output vector file" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "-o" ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClusteringTool.cwl#outputStem>
        rdfs:comment      "Output filename storing the merged polygons" ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--outputStem" ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/initialBuffer>
        cwl:source  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#initialBuffer> .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/GraphComponents.cwl#post_components_output/run/graphWorkloadFiles>
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphConstructionMode>
        rdfs:comment  "Method used to connect neighbouring settlements.\nBUFFER_SWEEP sweeps a buffer over the settlements, connecting each of them to up to\nmaxNeighborsPerNode others within graphDistanceThreshold.\nDELAUNAY triangulates the centroids of the settlements and keeps the edges within\ngraphDistanceThreshold.\n" ;
        sld:default   "DELAUNAY" ;
        sld:type      [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphConstructionMode/BUFFER_SWEEP> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graphConstructionMode/DELAUNAY> ;
                        sld:type     sld:enum
                      ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mode>
        rdfs:comment  "Clustering algorithm applied to the settlement graph" ;
        sld:type      [ sld:symbols  <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mode/BFS> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mode/DBSC> , <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mode/DBSCAN> ;
                        sld:type     sld:enum
                      ] .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/FishnetSplit.cwl#vectorFile>
        rdfs:comment              "Input GeoPackage file (no secondary files required)" ;
        ns2:expectedGeometryType  "Polygon" ;
        cwl:format                <https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage> ;
        cwl:inputBinding          [ CommandLineBinding:prefix
                          "--input" ] ;
        sld:type                  cwl:File , sld:null .

<https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#clusterMSTs>
        ns2:expectedGeometryType  "Polygon" ;
        cwl:outputSource          <https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/cwl/SpatialClustering.cwl#mstVisualization/mstVectorFile> ;
        sld:type                  cwl:File .
