Comments (11)
@ghilbrae @luis-meteogrid: An example for the table state model:
{
"data": [
{
"hazard": "HW,PF,FL",
"elementAtRisk": "Population",
"vulnerabilityClasses": "Age group 0-14",
"values": "2",
"unit": "pop/km2"
},
{
"hazard": "HW,PF,FL",
"elementAtRisk": "Population",
"vulnerabilityClasses": "Age group 15-64",
"values": "2.45",
"unit": "pop/km2"
},
{
"hazard": "HW,PF,FL",
"elementAtRisk": "Population",
"vulnerabilityClasses": ">65",
"values": "3",
"unit": "pop/km2"
},
{
"hazard": "PF,FL",
"elementAtRisk": "Buildings",
"vulnerabilityClasses": "Continuous Residential (S.L. > 80%)",
"values": "2.3",
"unit": "m3/m2"
},
{
"hazard": "PF,FL",
"elementAtRisk": "Buildings",
"vulnerabilityClasses": "Med-Hi Density Discontinuous Res. (30% < S.L. < 80%)",
"values": "2.56",
"unit": "m3/m2"
},
{
"hazard": "PF,FL",
"elementAtRisk": "Buildings",
"vulnerabilityClasses": "Low Density Discontinuous Res. (S.L. < 30%)",
"values": "1.3",
"unit": "m3/m2"
},
{
"hazard": "PF,FL",
"elementAtRisk": "Buildings",
"vulnerabilityClasses": "Non Residential",
"values": "1.56",
"unit": "m3/m2"
},
{
"hazard": "PF,FL",
"elementAtRisk": "Infrastructure",
"vulnerabilityClasses": "Roads",
"values": "2.34",
"unit": "ml"
},
{
"hazard": "PF,FL",
"elementAtRisk": "Infrastructure",
"vulnerabilityClasses": "Railways",
"values": "3.98",
"unit": "ml"
}
]
}
from table-components.
Same as on issue #1:
Do you mean that all this data will be available from the layers that are going to be uploaded to geoserver? Will there be other sources? Where will the Data Package Meta Data reside?
from table-components.
Do you mean that all this data will be available from the layers that are going to be uploaded to geoserver?
I hope so. :). But I don't expect that the exposure layers will already contain the information related to hazards. I think this relationship can be made via the Data Package Meta-Data (correct? @maesbri ) which is stored in the Drupal System an can be obtained via the Drupal JSON API.
This data (but for all grid cells of the study area, not just aggregated for tabular visualisation) is also needed for impact calculation. IMHO the relation between Hazard Type and Element at Risk Type is also part of the EMIKAT Logical Model (IMACT_CASE) (correct? @humerh). But I'm not sure whether we can query EMIKAT for this data.
from table-components.
current status:
- GUI implementation ("html wireframe") as React AJAX web Application following the respective Product Mock-Ups
- Integration into the respective GL-Step as External ReactMount Application
- Design of a simplified internal state data model in JSON (the "table model") and definition of static JSON constants (example) as initial reference / example data based on the example table content from the mock-up screens.
- the table contains the content for DC1 Reference study
- Mapping of the actual Data Package Data Model to the internal JSON state data model with help of the JSON:API and/or REST Views and additional REST Micro Services for simple data aggregation and transformation.
from table-components.
Sorry for the radio silence.
We are still a bit confused about what it is expected from our side. So I will try to explain what we have understood and what questions we have so you can clarify anything:
- The idea is to have some kind of tool (API?) that queries the layers available in geoserver to return a JSON response with the data needed.
- The tool will be called by some module of the CSIS with the set of parameters/data/whatever that is needed according to the example above.
- The tool will return the information needed back.
- We will probably implement this using python or some python-related framework.
- Where is this tool supposed to be installed?
- How will authentication work?
from table-components.
The example request of the table-state-rest-api is now used
from table-components.
Currently, the URL to the table-state-rest-api is hard-coded. How can this work for different exposure resources? Why is this not loaded from the Data Package? The URl of the REST API should be stored in the EE Resource in the corresponding Data Package. We can use the new references field and URL of type @tableview:meteogrid:rest
analogous to the @mapview:ogc:wms
type used by the Map Component. See also #16
Furthermore, we have to switch to EMIKAT API as it supports Exposure Data for whole Europe. See also clarity-h2020/table-state-rest-api#3
from table-components.
@therter Is the bbox hardcoded, too? Will this table work for the cities of Alba Iulia, Agios Dimitrios and Bottrop ?
from table-components.
Is the bbox hardcoded, too? Will this table work for the cities of Alba Iulia, Agios Dimitrios and Bottrop ?
The table reads the bbox and the layers from the study. But the layers must be hosted by the meteogrid wms and contain the data for the cities of Alba Iulia, Agios Dimitrios and Bottrop. I don't know if there are still exposure layers available from the meteogrid wms.
from table-components.
Any news on that? Please explain how and where the correct exposure layer used by the table rest API is set. It's not in the data package so I assume it is hardcoded. Where? in the table or the API?
from table-components.
This table is obsolete now and won't be updated. See clarity-h2020/csis#15 (comment)
from table-components.
Related Issues (20)
- Use the jsonapi include parameter to improve the loading performance
- hc/ee table: data request should use the EPSG parameter
- Make infos about the current table available for the "Include in Report" functionality. HOT 2
- Show Percentages HOT 1
- Units in HC and EE table HOT 4
- Implement HC Events Table HOT 1
- Support for "references" properties HOT 1
- Support for Tags in Data Package Resources HOT 1
- Security Issues in Table Component HOT 1
- Simplified Table Components HOT 1
- EMIKAT tables always show the same data HOT 8
- Please expose the link for downloading the table data from EMIKAT HOT 7
- population table seems to be broken HOT 2
- hide/show table columns as a configuration option. HOT 3
- Implement RA/IA Table HOT 7
- Implement VA Table HOT 2
- Implement AA Table HOT 7
- Integrate Code from Map Component HOT 1
- Include information on Event Group/Type in RA/IA Table HOT 3
- Show tooltips
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from table-components.