Skip to content
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

Flexible "re-purposing" of resources #96

Closed
p-a-s-c-a-l opened this issue May 12, 2020 · 4 comments
Closed

Flexible "re-purposing" of resources #96

p-a-s-c-a-l opened this issue May 12, 2020 · 4 comments
Assignees
Labels
BB: Map Component Map Component Building Block enhancement New feature or request

Comments

@p-a-s-c-a-l
Copy link
Member

We have to implement a strategy for flexible "re-rurposing" of resources. The reason and details are explained in clarity-h2020/data-package#65 (comment).

In principle we have to arbitrarily groups/categorise resources/layers irrespective of their conceptual assignment to EU-GL modules. Instead of relying on EU-GL taxonomy for layer selection and grouping, we have not only to support multiple taxonomies but also to re-label certain layer groups depending on EU-GL context: CLARITY Backgrounds' (HC-LE input layers) --> 'Exposure' in 'Evaluate Exposure' step.

@p-a-s-c-a-l
Copy link
Member Author

p-a-s-c-a-l commented May 15, 2020

Unbelievable:

grafik

JSON property name (machine_name) of Field id of a taxonomy contains the taxonomy name. E.g. field_resource_type_id, field_hazard_id, etc. so we cannot just filter arbitrary taxonomies by their "id" property without artificially constructing the property name. :hurtrealbad:

@p-a-s-c-a-l
Copy link
Member Author

Example on how to configure an Extended iFrame:

const additionalQueryParameters = {
  clarityBackgroundLayersTagType:'taxonomy_term--dp_resourcetype',
  clarityBackgroundLayersTagName:'clarity-background-layer',
  clarityBackgroundLayersGroupName:'Elements at Risk',
  overlayLayersTagType:'taxonomy_term--eu_gl',
  overlayLayersTagName:'Exposure Evaluation',
  overlayLayersGroupName:'Additional Elements at Risk',
  overlayLayersGroupingTagType:'taxonomy_term--elements_at_risk'                    
};

@p-a-s-c-a-l
Copy link
Member Author

Consider adding support for multiple overlayLayers groups.

p-a-s-c-a-l added a commit that referenced this issue May 18, 2020
@p-a-s-c-a-l
Copy link
Member Author

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BB: Map Component Map Component Building Block enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant