{
    "version":"0.0.1",
    "id":"get-snapped-points-strahler-plural",
    "use_case":"hydrography90m",
    "title":"Get corrected coordinates: Snapped to nearest stream segment.",
    "description":"Return pairs of coordinates that were snapped to the nearest stream segments as GeoJSON points. Also return the stream segment as a GeoJSON LineString, and basin id, region id, subcatchment id.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "subcatchment",
        "GeoFRESH",
        "stream",
        "stream-segment",
        "geojson",
        "hydrography90m"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"GeoFRESH website",
            "href":"https://geofresh.org/",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"about",
            "title":"On Stream segments (Hydrography90m)",
            "href":"https://hydrography.org/hydrography90m/hydrography90m_layers",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aqua.igb-berlin.de/pygeoapi-dev/processes/get-snapped-points-strahler-plural?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aqua.igb-berlin.de/pygeoapi-dev/processes/get-snapped-points-strahler-plural?f=html",
            "title":"Process description as HTML",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://aqua.igb-berlin.de/pygeoapi-dev/jobs?f=html",
            "title":"Jobs list as HTML",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://aqua.igb-berlin.de/pygeoapi-dev/jobs?f=json",
            "title":"Jobs list as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/execute",
            "href":"https://aqua.igb-berlin.de/pygeoapi-dev/processes/get-snapped-points-strahler-plural/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "min_strahler":{
            "title":"Strahler order",
            "description":"Minimum strahler order of the stream segments the points are snapped to.",
            "schema":{
                "type":"integer"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "comment"
            ]
        },
        "points_geojson":{
            "title":"Points (GeoJSON)",
            "description":"WGS84 Coordinates of the locations to be queried as a GeoJSON FeatureCollection (or GeometryCollection or MultiPoint). Please pass the values, not a URL.",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "GeoJSON",
                "wgs84",
                "MultiPoint"
            ]
        },
        "points_geojson_url":{
            "title":"Coordinates (GeoJSON)",
            "description":"WGS84 Coordinates of the locations to be queried as a GeoJSON GeometryCollection (or FeatureCollection or MultiPoint). Please pass a URL, not the values.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "coordinates",
                "wgs84"
            ]
        },
        "csv_url":{
            "title":"Coordinates (String)",
            "description":"WGS84 Coordinates of the locations to be queried as a CSV file (comma or semicolon both works). Please pass a URL, not the file contents.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "coordinates",
                "wgs84"
            ]
        },
        "comment":{
            "title":"Comment",
            "description":"Arbitrary string that will not be processed but returned, for user\"s convenience.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "comment"
            ]
        }
    },
    "outputs":{
        "snapped_points":{
            "title":"Snapped Points (GeoJSON or CSV)",
            "description":"GeoJSON FeatureCollection, containing the snapped points (as Points), the local stream segment (as a LineString, including Strahler Order), the local subcatchment (as a Polygon, including Strahler Order), and a connecting line from the given point to the snapped point (as a LineString).",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "points":{
                "type":"MultiPoint",
                "coordinates":[
                    [
                        9.937520027160646,
                        54.69422745526058
                    ],
                    [
                        9.9217,
                        54.6917
                    ],
                    [
                        9.9312,
                        54.6933
                    ]
                ]
            },
            "comment":"located in schlei area"
        }
    },
    "outputTransmission":[
        "value"
    ]
}