{"@id":"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl","retrievedFrom":{"repoUrl":"https://github.com/dfg-sos/sympolis.git","branch":"2ea7f9d1a67367555c2af0d6d4ec84caa161408c","path":"Sympolis.cwl","packedId":null,"type":"GITHUB","rawUrl":"https://raw.githubusercontent.com/dfg-sos/sympolis/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl","url":"https://github.com/dfg-sos/sympolis/blob/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl"},"retrievedOn":"2026-11-23T10:41:03.604+00:00","lastCommit":"2ea7f9d1a67367555c2af0d6d4ec84caa161408c","label":"Sympolis.cwl","inputs":{"debug":{"doc":"Enable debug logging in every step of the workflow","type":"Boolean"},"dbscT1":{"doc":"Custom t1 threshold of the DBSC heuristic. Derived from the data when omitted","type":"Float (Optional)"},"minArea":{"doc":"Drop resulting urban areas covering less than this area in square meters. No area filter is applied when omitted","type":"Float (Optional)"},"dbscBeta":{"doc":"Order of the neighbourhood considered when trimming the settlement graph. Required by the DBSC mode","type":"Integer (Optional)"},"mstBuffer":{"doc":"Width in meters of the buffer applied to the MST edges connecting the settlements of a cluster. Defaults to 30.0","type":"Float (Optional)"},"shapefile":{"doc":"Input file to Sympolis workflow","type":"File (Optional) [format]","format":"https://dfg-sos.github.io/ontologies/eo-formats#Shapefile"},"vectorFile":{"doc":"Input GeoPackage file to Sympolis workflow","type":"File (Optional) [format]","format":"https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage"},"initialBuffer":{"doc":"Width in meters of the buffer grown around each settlement before it is eroded back to outlineBuffer","type":"Float (Optional)"},"outlineBuffer":{"doc":"Width in meters of the buffer remaining around the settlements of a cluster after erosion","type":"Float"},"clusteringMode":{"doc":"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"},"minClusterSize":{"doc":"Minimum number of settlements per cluster. Settlements of smaller clusters are classified as noise. Required by the DBSCAN and DBSC modes","type":"Integer (Optional)"},"partitionDepth":{"doc":"Depth of the quadrant splitting applied to the input, creating 4^partitionDepth tiles which\nthe following steps process in parallel.\n","type":"Integer"},"dbscAttributeMapper":{"doc":"Settlement attribute combined with the spatial distance by the DBSC mode. Defaults to NONE"},"maxNeighborsPerNode":{"doc":"Maximum number of edges per settlement. Required by the BUFFER_SWEEP mode, ignored by DELAUNAY","type":"Integer (Optional)"},"dropContainedPolygons":{"doc":"Drop resulting urban areas which are fully contained in another one","type":"Boolean"},"graphConstructionMode":{"doc":"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"},"graphDistanceThreshold":{"doc":"Maximum distance in meters between two settlements sharing an edge","type":"Float"},"clusterDistanceThreshold":{"doc":"Maximum distance in meters between two settlements of the same cluster","type":"Float"},"maxComponentsPerWorkload":{"doc":"Maximum number of graph components assigned to a single clustering task. Defaults to 5000","type":"Integer (Optional)"}},"outputs":{"sympolis":{"type":"File [format]","format":"https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage"},"multi_polygons":{"type":"File [format]","format":"https://dfg-sos.github.io/ontologies/eo-formats#GeoPackage"}},"steps":{"split":{"run":"cwl/FishnetSplit.cwl","runType":"COMMANDLINETOOL","sources":{"split":{"sourceIDs":["vectorFile"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/depth":{"sourceIDs":["partitionDepth"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#split/shapefile":{"sourceIDs":["shapefile"]}}},"filter":{"run":"cwl/FishnetFilter.cwl","runType":"COMMANDLINETOOL","sources":{"filter":{"sourceIDs":["split"]}}},"clustering":{"run":"cwl/SpatialClustering.cwl","runType":"WORKFLOW","sources":{"clustering":{"sourceIDs":["dbscBeta"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/t1":{"sourceIDs":["dbscT1"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/mode":{"sourceIDs":["clusteringMode"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/debug":{"sourceIDs":["debug"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/files":{"sourceIDs":["filter"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/workload":{"sourceIDs":["graph_components"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/mstBuffer":{"sourceIDs":["mstBuffer"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/minClusterSize":{"sourceIDs":["minClusterSize"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/attributeMapper":{"sourceIDs":["dbscAttributeMapper"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#clustering/distanceThreshold":{"sourceIDs":["clusterDistanceThreshold"]}}},"postFilter":{"run":"cwl/FishnetFilter.cwl","runType":"COMMANDLINETOOL","sources":{"postFilter":{"sourceIDs":["dropContainedPolygons"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/minArea":{"sourceIDs":["minArea"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#postFilter/vectorFile":{"sourceIDs":["visualization"]}}},"visualization":{"run":"cwl/PolygonOutline.cwl","runType":"COMMANDLINETOOL","sources":{"visualization":{"sourceIDs":["outlineBuffer"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/debug":{"sourceIDs":["debug"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/mstFile":{"sourceIDs":["clustering"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/vectorFile":{"sourceIDs":["clustering"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#visualization/initialBuffer":{"sourceIDs":["initialBuffer"]}}},"graph_components":{"run":"cwl/GraphComponents.cwl","runType":"WORKFLOW","sources":{"graph_components":{"sourceIDs":["maxComponentsPerWorkload"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/debug":{"sourceIDs":["debug"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_components/graphBinaries":{"sourceIDs":["graph_generation"]}}},"graph_generation":{"run":"cwl/GraphConstruction.cwl","runType":"WORKFLOW","sources":{"graph_generation":{"sourceIDs":["graphDistanceThreshold"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/mode":{"sourceIDs":["graphConstructionMode"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/debug":{"sourceIDs":["debug"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/vectorFiles":{"sourceIDs":["filter"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/filenamePrefix":{"sourceIDs":["shapefile"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#graph_generation/maxNeighborsPerNode":{"sourceIDs":["maxNeighborsPerNode"]}}},"mergeConcaveHulls":{"run":"cwl/FishnetMerge.cwl","runType":"COMMANDLINETOOL","sources":{"mergeConcaveHulls":{"sourceIDs":["postFilter"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeConcaveHulls/outputPath":{"sourceIDs":["shapefile"]}}},"mergeMultiPolygons":{"run":"cwl/FishnetMerge.cwl","runType":"COMMANDLINETOOL","sources":{"mergeMultiPolygons":{"sourceIDs":["clustering"]},"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl#mergeMultiPolygons/outputPath":{"sourceIDs":["shapefile"]}}}},"cwltoolVersion":"3.1.20230201224320","visualisationDot":"digraph workflow {\n  graph [\n    bgcolor = \"#eeeeee\"\n    color = \"black\"\n    fontsize = \"10\"\n    labeljust = \"left\"\n    clusterrank = \"local\"\n    ranksep = \"0.22\"\n    nodesep = \"0.05\"\n  ]\n  node [\n    fontname = \"Helvetica\"\n    fontsize = \"10\"\n    fontcolor = \"black\"\n    shape = \"record\"\n    height = \"0\"\n    width = \"0\"\n    color = \"black\"\n    fillcolor = \"lightgoldenrodyellow\"\n    style = \"filled\"\n  ];\n  edge [\n    fontname=\"Helvetica\"\n    fontsize=\"8\"\n    fontcolor=\"black\"\n    color=\"black\"\n    arrowsize=\"0.7\"\n  ];\n  subgraph cluster_inputs {\n    rank = \"same\";\n    style = \"dashed\";\n    label = \"Workflow Inputs\";\n    \"initialBuffer\" [fillcolor=\"#94DDF4\",label=\"initialBuffer\"];\n    \"maxNeighborsPerNode\" [fillcolor=\"#94DDF4\",label=\"maxNeighborsPerNode\"];\n    \"vectorFile\" [fillcolor=\"#94DDF4\",label=\"vectorFile\"];\n    \"shapefile\" [fillcolor=\"#94DDF4\",label=\"shapefile\"];\n    \"debug\" [fillcolor=\"#94DDF4\",label=\"debug\"];\n    \"dbscBeta\" [fillcolor=\"#94DDF4\",label=\"dbscBeta\"];\n    \"dbscAttributeMapper\" [fillcolor=\"#94DDF4\",label=\"dbscAttributeMapper\"];\n    \"minClusterSize\" [fillcolor=\"#94DDF4\",label=\"minClusterSize\"];\n    \"partitionDepth\" [fillcolor=\"#94DDF4\",label=\"partitionDepth\"];\n    \"dropContainedPolygons\" [fillcolor=\"#94DDF4\",label=\"dropContainedPolygons\"];\n    \"mstBuffer\" [fillcolor=\"#94DDF4\",label=\"mstBuffer\"];\n    \"maxComponentsPerWorkload\" [fillcolor=\"#94DDF4\",label=\"maxComponentsPerWorkload\"];\n    \"minArea\" [fillcolor=\"#94DDF4\",label=\"minArea\"];\n    \"outlineBuffer\" [fillcolor=\"#94DDF4\",label=\"outlineBuffer\"];\n    \"clusteringMode\" [fillcolor=\"#94DDF4\",label=\"clusteringMode\"];\n    \"dbscT1\" [fillcolor=\"#94DDF4\",label=\"dbscT1\"];\n    \"graphDistanceThreshold\" [fillcolor=\"#94DDF4\",label=\"graphDistanceThreshold\"];\n    \"graphConstructionMode\" [fillcolor=\"#94DDF4\",label=\"graphConstructionMode\"];\n    \"clusterDistanceThreshold\" [fillcolor=\"#94DDF4\",label=\"clusterDistanceThreshold\"];\n  }\n  subgraph cluster_outputs {\n    rank = \"same\";\n    style = \"dashed\";\n    labelloc = \"b\";\n    label = \"Workflow Outputs\";\n    \"multi_polygons\" [fillcolor=\"#94DDF4\",label=\"multi_polygons\"];\n    \"sympolis\" [fillcolor=\"#94DDF4\",label=\"sympolis\"];\n  }\n  \"mergeConcaveHulls\" [label=\"mergeConcaveHulls\"];\n  \"split\" [label=\"split\"];\n  \"graph_components\" [label=\"graph_components\", fillcolor=\"#F3CEA1\"];\n  \"clustering\" [label=\"clustering\", fillcolor=\"#F3CEA1\"];\n  \"mergeMultiPolygons\" [label=\"mergeMultiPolygons\"];\n  \"postFilter\" [label=\"postFilter\"];\n  \"filter\" [label=\"filter\"];\n  \"graph_generation\" [label=\"graph_generation\", fillcolor=\"#F3CEA1\"];\n  \"visualization\" [label=\"visualization\"];\n  \"postFilter\" -> \"mergeConcaveHulls\" [label=\"vectorFiles\"];\n  \"vectorFile\" -> \"mergeConcaveHulls\" [label=\"outputPath\"];\n  \"shapefile\" -> \"mergeConcaveHulls\" [label=\"outputPath\"];\n  \"vectorFile\" -> \"split\" [label=\"vectorFile\"];\n  \"shapefile\" -> \"split\" [label=\"shapefile\"];\n  \"partitionDepth\" -> \"split\" [label=\"depth\"];\n  \"maxComponentsPerWorkload\" -> \"graph_components\" [label=\"maxComponentsPerWorkload\"];\n  \"graph_generation\" -> \"graph_components\" [label=\"graphBinaries\"];\n  \"debug\" -> \"graph_components\" [label=\"debug\"];\n  \"dbscBeta\" -> \"clustering\" [label=\"beta\"];\n  \"minClusterSize\" -> \"clustering\" [label=\"minClusterSize\"];\n  \"clusteringMode\" -> \"clustering\" [label=\"mode\"];\n  \"dbscAttributeMapper\" -> \"clustering\" [label=\"attributeMapper\"];\n  \"filter\" -> \"clustering\" [label=\"files\"];\n  \"graph_components\" -> \"clustering\" [label=\"workload\"];\n  \"mstBuffer\" -> \"clustering\" [label=\"mstBuffer\"];\n  \"dbscT1\" -> \"clustering\" [label=\"t1\"];\n  \"clusterDistanceThreshold\" -> \"clustering\" [label=\"distanceThreshold\"];\n  \"debug\" -> \"clustering\" [label=\"debug\"];\n  \"clustering\" -> \"mergeMultiPolygons\" [label=\"vectorFiles\"];\n  \"vectorFile\" -> \"mergeMultiPolygons\" [label=\"outputPath\"];\n  \"shapefile\" -> \"mergeMultiPolygons\" [label=\"outputPath\"];\n  \"dropContainedPolygons\" -> \"postFilter\" [label=\"dropContainedPolygons\"];\n  \"minArea\" -> \"postFilter\" [label=\"minArea\"];\n  \"visualization\" -> \"postFilter\" [label=\"vectorFile\"];\n  \"split\" -> \"filter\" [label=\"vectorFile\"];\n  \"graphDistanceThreshold\" -> \"graph_generation\" [label=\"distanceThreshold\"];\n  \"maxNeighborsPerNode\" -> \"graph_generation\" [label=\"maxNeighborsPerNode\"];\n  \"filter\" -> \"graph_generation\" [label=\"vectorFiles\"];\n  \"vectorFile\" -> \"graph_generation\" [label=\"filenamePrefix\"];\n  \"shapefile\" -> \"graph_generation\" [label=\"filenamePrefix\"];\n  \"debug\" -> \"graph_generation\" [label=\"debug\"];\n  \"graphConstructionMode\" -> \"graph_generation\" [label=\"mode\"];\n  \"outlineBuffer\" -> \"visualization\" [label=\"buffer\"];\n  \"debug\" -> \"visualization\" [label=\"debug\"];\n  \"clustering\" -> \"visualization\" [label=\"vectorFile\"];\n  \"clustering\" -> \"visualization\" [label=\"mstFile\"];\n  \"initialBuffer\" -> \"visualization\" [label=\"initialBuffer\"];\n  \"mergeMultiPolygons\" -> \"multi_polygons\";\n  \"mergeConcaveHulls\" -> \"sympolis\";\n}\n","licenseLink":"https://spdx.org/licenses/MIT","permalink":"https://w3id.org/cwl/view/git/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl","packed":false,"visualisationXdot":"/graph/xdot/github.com/dfg-sos/sympolis/blob/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl","visualisationPng":"/graph/png/github.com/dfg-sos/sympolis/blob/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl","visualisationSvg":"/graph/svg/github.com/dfg-sos/sympolis/blob/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl","roBundle":"/robundle/github.com/dfg-sos/sympolis/blob/2ea7f9d1a67367555c2af0d6d4ec84caa161408c/Sympolis.cwl","licenseName":"MIT License"}