-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Exposure Data [EE API] #10
Comments
Yes, the population will not be grouped in three classes since the data at european level are not available in that format. Copernicus uploaded the population data already spatialized, therefore they should just be converted in the grid format (https://land.copernicus.eu/local/urban-atlas/urban-atlas-2012). |
Yes, but Heinrich somehow managed to derive the age groups from other European datasets and to merge it with the Copernicus population data. Right, @humerh? |
It is not necessary to apply that procedure because we have just vulnerability function for all the population. |
Output Example: {
"name": "CLY_EL_POPULATION_FAKE",
"description": "Beschreibung fürCLY_EL_POPULATION_FAKE",
"columnnames": [
"GRID_ID",
"POPULATION_TOTAL",
"POPULATION_LT14",
"POPULATION_14TO64",
"POPULATION_GT64"
],
"rows": [
{
"rownum": 0,
"values": [
"500mE46730N19800",
395,
52,
254,
89
]
},
{
"rownum": 1,
"values": [
"500mE46730N19805",
394,
52,
254,
88
]
},
{
"rownum": 2,
"values": [
"500mE46735N19800",
394,
52,
254,
88
]
}, |
Thank you, some questions and remakes:
Alternatively we could keep the source data that is needed for visualisation purposes only on (METEOGRID) Geoserver and expose it via WCS/WMS and duplicate the data that is needed for Impact/Adaptation Calculation in EMIKAT. However, I would prefer to keep the data in one central place (EMIKAT). Here are some samples WCS/WMS URLs:
Note that these URLs currently point to local Exposure Data obtained from ISTAT (Italian National Institute of Statistics)! The structure and format exposed at the APIs must be the same for the European level exposure data obtained from Copernicus. I think it is more than obvious that we cannot support different data formats for the same data type. We need to be able to switch data packages, e.g. perform the same type of study with European Level Data Package and the Local Data Package. |
On your request I changed my Population evaluation and remove the age distribution. So my interfaces are now the followings (replace 2846 by $emikatId): |
Thanks! WMS doesn't seem to work, though: <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "https://service.emikat.at/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" > <ServiceException code="internalError">
Rendering process failed
3
</ServiceException></ServiceExceptionReport> Are you going to provide a WCS endpoint, too? For the Data Package, we need some meta-information about the Exposure Data, especially to properly credit the original data provider (Copernicus). Is the description of the source data already available in our CKAN? If not, where can I find the the original data? |
Additional Services available: or EMIKAT GeoJSON: https://service.emikat.at/EmiKatTst/api/scenarios/2846/feature/tab.CLY_EL_POPULATION_INTERPOLATED.2016/table/geojson?rownum=1000 A WCS endpoint is not available. |
Is the local Naples Exposure Data in EMIKAT available too, so that we can test with the table rest API? |
What is the problem with WMS service? Is it still present? |
WMS works now. Thanks! |
Hm, same question as here: Is it possible to return only those records that are within the area of the current study (2846)? Alternatively, does the API support additional filter parameters, e.g. by bounding box so that we could include the '$studyArea' in the request? |
|
Yes, you will get only those records, which are in the area of the study, I have implemented it already. It will be like this: |
When I remove the filter I would expect to get exposure data for whole Europe. Why? Because we want to show the visualisation widgets (maps and table) not only in the study views but also in the Data Package and resource views. See clarity-h2020/data-package#26 Therefore it would be helpful to be able to obtain the data for whole Europe via for the REST API, too. E.g. instead of we may use an optional query parameter, e.g. In any case, while this might work for (static) population data, it will probably not be available for HC-LE data and IA Data, because they are calculated on the fly for each new study, right? |
When I remove the filter CQL_FILTER=SZ_ID=$emikat_id from the Population Exposure WMS URL, I'm, still getting only the exposure for the study area: Currently we have only ONE Study defined and calculated in EmiKat, so the result is the same. If more than one Study exists, this parameter is essential. ... showing data for all the Europe ... It was a strategic decision to calculate all the dynamic tables only for the area of the study. The recalculation time is therefore in a very good range (seconds or minutes). Recalculation time for Europe needs in many cases hours or days. The examples of population distribution is currently handled with the same algorithms and is calculated only for the area of the study. A compromise could be, that we provide only the 1km*1km input layer of population on European level. Is this sufficient? |
Since this European population layer is then used for visualisation in CSIS only and not for calculation in EMIKAT, it would be better to follow the same approach as for the Hazard indices layers: @ghilbrae should make these layers available on METEOGRID Geoserver. |
I'm working on this and I hope to have something today or tomorrow. I'd like to know of you @humerh need 2006 and 2011 or only 2011. I'm working on 2011 right now. |
@humerh the population for 2011 is available in our geoserver (https://clarity.meteogrid.com/geoserver/). The name of the layer is: europe:EXT_Population_GEOSTAT_1K_2011 You can check it in the layer preview. It may take a while to load but the layer is quite heavy. Let me know if this works for you or if there's something missing or strange. |
I can access this layer as WMS service. I would prefer to have a WCS service for this layer, because I need the data and not the picture. Currently I continue to use my local copy of data till a WCS service is avalable. |
As I need the data (not the map) is it possible to enable also WCS service for this layer? |
Maybe @LauraMTG can enable the WCS? |
@humerh and @p-a-s-c-a-l , It is not possible to access SHAPE data through a WCS service (only for raster files). For this you need to use a WFS service and the procedure is the same. |
Hi @humerh and @p-a-s-c-a-l I have transformed the shapefile into a raster file and it is already in geoserver with the name "geostat_GRID_POPULATION_1K_2011". Now you have the possibility to access the European population layer through the WCS service, if it is useful for you. |
Thank you, it looks fine. |
I suppose this is resolved, except that no |
No Exposure Data seems to be available for this study (Alba Iulia): https://service.emikat.at/EmiKatTst/api/scenarios/3209/feature/tab.CLY_EL_POPULATION_INTERPOLATED.2016/table/data?rownum=1000 |
Study with EmikatId=3209 was not triggered for calculation. The reason is in my eyes on the drupal side. |
Hm, but there is an EMIKAT id assigned, hmm |
This works now. Guess we can close the issue.
|
We need access to the Exposure Data stored in EMIKAT. Currently it supports Population Exposure including
age group distribution for whole Europe. There is also finer grained local population exposure data for the city of Naples available which can be served transparently via the same API.The API could support a parameter
$exposureType
which contains the id of the respective Taxonomy.The API will be accessed by the table-state-rest-api and then by the related EE Table Component. Additionally, we need an WMS Endpoint for the EE Map Component.
The respective EE Data Package Resource has to be updated accordingly and example request / response URLs (including WMS URLs for RA/IA maps) have to be added to the Wiki.
The text was updated successfully, but these errors were encountered: