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

Fix data: fix and improve vm_communes #402

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

jpm-cbna
Copy link
Contributor

@jpm-cbna jpm-cbna commented Apr 7, 2022

See #372.

@jpm-cbna jpm-cbna added the bug label Apr 7, 2022

-- Rafraichissement des vues contenant les données de l'atlas
CREATE OR REPLACE FUNCTION atlas.refresh_materialized_view_ref_geo()
RETURNS VOID AS $$
BEGIN

REFRESH MATERIALIZED VIEW atlas.t_layer_territoire;
REFRESH MATERIALIZED VIEW atlas.t_mailles_territoire;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

atlas.t_mailles_territoire est une table. Le rafraichissement dessus ne marche pas. J'ai donc supprimé cette ligne. Mais, il faudrait peut être transformer cette table en VM ?

Comment on lines +39 to +42
-- TODO : ajouter ce script au futur script d'update de GeoNature Atlas.
-- TODO : trouver une solution pour pouvoir regénérer les VMs et table via les scripts présent dans data/atlas/.
-- TODO : il faudrait aussi relancer la génération de la VM vm_communes à l'aide du script '7.atlas.vm_communes.sql
-- TODO : il faudrait aussi relancer la génération de la table t_mailles_territoire à l'aide du script '12.atlas.t_mailles_teritoire.sql'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Point à traiter suite au merge avec la branche develop.

@jpm-cbna jpm-cbna changed the title Fix data: fix and improve vm_communes generation Fix data: fix and improve vm_communes Apr 7, 2022
@jpm-cbna jpm-cbna marked this pull request as ready for review April 8, 2022 20:33
Improve the creation of t_mailles_territoire.

Fix #372.

fix(data): improve the creation of t_mailles_territoire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant