inasafe/inasafe-realtime

Displaying contours on shake maps

Closed this issue · 6 comments

Hadi recommend that when MMI contours are displayed on maps they can be solid lines over land and dashed lines over water.
The reason is that the contours are for MMI which is shaking on land. There is no such think as MMI for water :)
cc
@hadighasemi

I remember he mentioned this one too.
@ismailsunni can you help me investigate how to do that? I think this is not straightforwad. The MMI contours will need to be clipped with polygons which have land/water columns. Then we have to put attribute for line, so we can style it based on land/water attribute. Or do you have better idea?

@lucernae I think that's also my idea

This becomes a cartographic solution - what data will you share for people to download?

@ivanbusthomi see how far you can get with QGIS styling

ivanbusthomi see how far you can get with QGIS styling

Hi @gubuntu - I can't quite remember whether we already made a decision regarding this issue, but I just managed to find a good solution for this.

This is what I can get at the moment using the geometry generator option in layer styling
image

We only need to load a new polygon layer that indicates the land (country boundary). The geometry generator option can be saved into the qml, which then can be used to specify the contour style.

I think the only drawback is that it took several seconds to render it.

@Charlotte-Morgan @timlinux @ismailsunni @lucernae

Not feasible. So we don't deploy it.