{
    "version":"0.1.0",
    "id":"get-lau-data",
    "use_case":"Human Population",
    "title":"Get LAU population data",
    "description":"Fetches Eurostat LAU (Local Administrative Unit) human population data for the given countries and focus year via GISCO, reprojected to EPSG:3035 (R function 'get_lau_population'). This process is used for both the population focus year and the reference year by supplying a different year value. GISCO's LAU boundaries don't cover every country for every year (e.g. the UK is missing from the 2021 vintage); if a requested country has no LAU data for focus_year, the nearest year (by proximity) that does have data for that country is used instead, and that country's population columns are relabeled to focus_year so the output always has a consistent 'POP_<focus_year>' column. A message is printed whenever this substitution happens.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "human population use case",
        "AquaINFRA",
        "Eurostat",
        "GISCO",
        "LAU",
        "population"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"information",
            "href":"https://example.org/process",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/get-lau-data?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/get-lau-data?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://aquainfra.ogc.igb-berlin.de/pygeoapi/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://aquainfra.ogc.igb-berlin.de/pygeoapi/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://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/get-lau-data/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "inputFile1_countries_rds":{
            "title":"Countries for catchment",
            "description":"Path to an .rds file containing the list of country codes for which to fetch LAU population data.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/x-rds"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        },
        "focus_year":{
            "title":"Focus year",
            "description":"The year for which to fetch LAU population data. Allowed years are 2011 through 2024.",
            "schema":{
                "type":"string",
                "enum":[
                    "2011",
                    "2012",
                    "2013",
                    "2014",
                    "2015",
                    "2016",
                    "2017",
                    "2018",
                    "2019",
                    "2020",
                    "2021",
                    "2022",
                    "2023",
                    "2024"
                ]
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        }
    },
    "outputs":{
        "lau_focus":{
            "title":"LAU population data",
            "description":"LAU (Local Administrative Unit) polygons with observed population for the requested countries and year, reprojected to EPSG:3035.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/x-rds"
            }
        },
        "focusyear":{
            "title":"Focus year (echoed)",
            "description":"The requested focus year, saved as a single value for use in subsequent pipeline steps.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/x-rds"
            }
        }
    },
    "example":{
        "inputs":{
            "inputFile1_countries_rds":"countries.rds",
            "focus_year":"2018"
        }
    },
    "outputTransmission":[
        "value"
    ]
}