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

Additional Background Map Layers #3

Closed
p-a-s-c-a-l opened this issue Dec 12, 2018 · 7 comments
Closed

Additional Background Map Layers #3

p-a-s-c-a-l opened this issue Dec 12, 2018 · 7 comments
Assignees
Labels
BB: Map Component Map Component Building Block enhancement New feature or request on-hold Issue is on-hold and will be addressed later wontfix This will not be worked on

Comments

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

p-a-s-c-a-l commented Dec 12, 2018

Follow the same top-down approach as described here and here. Design a simple internal state model and implement a dynamic layer control widget for HC / EE / etc. layer groups. Last step is then to implement Data Package Support. Input for the design of the state model and initial example layers can be found in these issues

Note that we distinguish between 2 types of background layers: static (global layers, e.g. OSM) and dynamic layers (loaded from the data package, e.g. detailed city plan).

Static layers (Example: "Hintergrundkarte") could be put in a separate drop-down as shown below:

kdb

Dynamic (background) layers can be categorised, too (Example: "Topographische Karten"). HC / EE /IA, etc. layers are only visible in the respective step.

@p-a-s-c-a-l p-a-s-c-a-l added the SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless label Dec 12, 2018
@p-a-s-c-a-l p-a-s-c-a-l added this to the D1.3 CLARITY CSIS v1 milestone Dec 12, 2018
@p-a-s-c-a-l p-a-s-c-a-l self-assigned this Dec 12, 2018
@therter
Copy link
Contributor

therter commented Feb 22, 2019

The maps can be categorised and the categories can be expanded/collapsed. See also #10

@therter therter closed this as completed Feb 22, 2019
@p-a-s-c-a-l p-a-s-c-a-l reopened this Feb 22, 2019
therter added a commit that referenced this issue Feb 28, 2019
therter added a commit that referenced this issue Mar 26, 2019
@RobAndGo
Copy link

RobAndGo commented Apr 1, 2019

@therter
I hope this comment belongs here - it concerns the map layers showing the heat-wave hazards here: https://csis.myclimateservice.eu/study/1/step/2/view/maps
(Sorry, I only now just discovered this portal to view the CSIS gaah )

It seems as though the layers are lacking information. For example, when I click on this map:
2019-04-01_120757

it does not show the same amount of detail as in the original map for the same period/RCP scenario:
Tx75p_consecutive_max_2071-2100_rcp45

This comment applies to all of the periods/RCP scenarios clickable for the heat waves.

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

@therter @luis-meteogrid @ghilbrae
Any comments to @RobAndGo's question?

@ghilbrae
Copy link

Hi! We've looked into it and it's a problem with the scale. We've tested a new scale with that same layer and this is the result for that same layer:
scale

The scale we've used is this one:

              <ColorMapEntry color="#fff" quantity="0" label="0" />
              <ColorMapEntry color="#7b41f7" quantity="6" label="6" />
              <ColorMapEntry color="#425dff" quantity="12" label="12" />
              <ColorMapEntry color="#39b2ff" quantity="18" label="18" />
              <ColorMapEntry color="#39ffde" quantity="24" label="24" />
              <ColorMapEntry color="#8cff39" quantity="30" label="30" />
              <ColorMapEntry color="#ffff42" quantity="36" label="36" />
              <ColorMapEntry color="#ffb24a" quantity="42" label="42" />
              <ColorMapEntry color="#ff4d39" quantity="48" label="48" />
              <ColorMapEntry color="#ad0000" quantity="54" label="54" />
              <ColorMapEntry color="#630000" quantity="60" label="60" />

Let us know if this is ok for you @RobAndGo so we may use it for the other heat wave layers. We can use any other scale you'd like us to use, but please let us know the colours' codes.

@therter
Copy link
Contributor

therter commented May 29, 2019

@ghilbrae Can you please add the units of the values to the legend

@ghilbrae
Copy link

@therter done, we've added a first line with that info. Let us know if this works for you. There's not an easy way to do it other than editing the labels from the style (if we find a better option we'll try it).

@RobAndGo
Copy link

Sorry for my very late reply, but yes, the colour scale does look much better!

@p-a-s-c-a-l p-a-s-c-a-l changed the title Display Map Layers Additional Background Map Layers Jul 1, 2019
@p-a-s-c-a-l p-a-s-c-a-l added enhancement New feature or request on-hold Issue is on-hold and will be addressed later and removed SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless labels Jul 1, 2019
@p-a-s-c-a-l p-a-s-c-a-l added the BB: Map Component Map Component Building Block label Jul 1, 2019
@p-a-s-c-a-l p-a-s-c-a-l mentioned this issue Jul 1, 2019
3 tasks
@p-a-s-c-a-l p-a-s-c-a-l added the wontfix This will not be worked on label Aug 29, 2019
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 on-hold Issue is on-hold and will be addressed later wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants