Oslandia / albion

Migrated to: https://gitlab.com/Oslandia/albion
https://gitlab.com/Oslandia/albion
GNU General Public License v3.0
49 stars 17 forks source link

Z Scale and diagraphy #58

Closed DUGUEY closed 5 years ago

DUGUEY commented 6 years ago

When we change the Zscale factor in the cross section, the litholgy, facies and others tables change as well, but not the diagraphy layers.

vmora commented 6 years ago

This is due to the fact that those are materialized views.

In the qgis db manager, you can issue a:

REFRESH MATERIALIZED VIEW albion.current_radiometry_section

pblottiere commented 5 years ago

Hi @DUGUEY,

REFRESH MATERIALIZED VIEW albion.current_radiometry_section

albion.current_radiometry_section is just a simple view, so the previous statement won't work. However, this view is searching the geometry within the materialized view albion.radiometry_section. Can you try the next statement instead and check the content of the current_radiometry_section layer again please?

REFRESH MATERIALIZED VIEW albion.radiometry_section

BTW, it's the same logic with the albion.current_resistivity_section view:

REFRESH MATERIALIZED VIEW albion.resistivity_section

Thanks.

DUGUEY commented 5 years ago

Yes it s PERFECT ! can you do a button to refresh the diagraphy when we change the scale ,

pblottiere commented 5 years ago

Hi @DUGUEY,

can you do a button to refresh the diagraphy when we change the scale

A new button has been added to refresh diagraphy layers:

p