{
    "version":"0.0.1",
    "id":"get-local-streamsegments-subcatchments",
    "use_case":"hydrography90m",
    "title":"Get a Stream Segment and its local subcatchment (as GeoJSON)",
    "description":"Return a Stream Segment and its local subcatchment as a GeoJSON Feature (where the geometry is a LineString). Upstream not included.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "subcatchment",
        "stream",
        "stream-segment",
        "geojson",
        "GeoFRESH",
        "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-local-streamsegments-subcatchments?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-local-streamsegments-subcatchments?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-local-streamsegments-subcatchments/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "lon":{
            "title":"Longitude (WGS84)",
            "description":"Longitude....",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "longitude",
                "wgs84"
            ]
        },
        "lat":{
            "title":"Latitude (WGS84)",
            "description":"Latitude....",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "latitude",
                "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"
            ]
        },
        "geometry_only":{
            "title":"Get only GeoJSON GeometryCollection?",
            "description":"Specify whether to return only a GeoJSON GeometryCollection (in this case, a LineString), instead of a GeoJSON FeatureCollection containing additional properties. Please write \"true\" or \"false\".",
            "schema":{
                "enum":[
                    "true",
                    "false"
                ]
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "GeoJSON",
                "GeometryCollection",
                "FeatureCollection"
            ]
        }
    },
    "outputs":{
        "stream_segment_subcatchment":{
            "title":"Stream Segment and Subcatchment Area",
            "description":"Stream Segment (incl. Strahler Order) and Subcatchment Area (as a Polygon) of the local subcatchment, as a GeoJSON GeometryCollection or FeatureCollection.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "lon":"9.931555",
            "lat":"54.695070",
            "comment":"located in schlei area",
            "geometry_only":"false"
        }
    },
    "outputTransmission":[
        "value"
    ]
}