epos-eu / EPOS-DCAT-AP

DCAT-AP extension for the EPOS solid Earth sciences community
MIT License
14 stars 61 forks source link

Add WP08-EFEHR_exposure for SERA risk exposure #459

Closed daniviga closed 5 years ago

daniviga commented 5 years ago

As requested by @hcrowley I'm adding a ttl files with definitions and metadata related to EFEHR/SERA (https://eu-risk.eucentre.it/ and https://maps.eu-risk.eucentre.it/) to be injected in the ICS portal.

For any further information/request related to SERA please refer to Helen Crowley (@hcrowley).

rpaciello commented 5 years ago

@daniviga I fixed some issues in your file. We tried to test your WMS by using default parameters, but it returns a blank image: _https://maps.eu-risk.eucentre.it/mapproxy/EU_Exposure_L0/ows?service=WMS&version=1.3.0&request=GetMap&layers=european-exposure-country-data&crs=EPSG:4326&format=image/png&width=1536&height=811&bbox=32.5000,-32.5000,73.5000,32.5000&styles=_

daniviga commented 5 years ago

@rpaciello thank you! Much appreciated.

We tried to test your WMS by using default parameters, but it returns a blank image: _https://maps.eu-risk.eucentre.it/mapproxy/EU_Exposure_L0/ows?service=WMS&version=1.3.0&request=GetMap&layers=european-exposure-country-data&crs=EPSG:4326&format=image/png&width=1536&height=811&bbox=32.5000,-32.5000,73.5000,32.5000&styles=_

That layer actually contains only (the main) data for the GetFeatureInfo (i.e. the data that is returned when you click a polygon here https://maps.eu-risk.eucentre.it/map/european-exposure-level-1/) and it should be used in association with one of the other layers (like 'population'). There's any way in the ttl file to specify that the default parameter should be something composed by multiple layers?

Is it valid something like

            hydra:mapping[ a hydra:IriTemplateMapping;
                hydra:variable "layers"^^xsd:string;
                rdfs:range "xsd:string";
                rdfs:label "Layers";
                http:paramValue "european-exposure-level-1";
                http:paramValue "number-of-buildings";
                http:paramValue "population";
                http:paramValue "total-replacement-cost-m-eur";
                schema:defaultValue "population,european-exposure-level-1";
                hydra:required "true"^^xsd:boolean;
            ];

having two layers as the default parameter?

The result is:

WMS