-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problématique RTGE #182
base: master
Are you sure you want to change the base?
Problématique RTGE #182
Conversation
Requête pour créer les tables: TA_POINT_TOPO_F et TA_LIG_TOPO_F_ARCS_LINEARISES ainsi que les vues materialisees: VM_RTGE_POINT VM_RTGE_LINEAIRE VM_RTGE_SOMMET_LINEAIRE
Changement du nom de la VM pour permettre l'auto-complétion dans les logiciels.
Mise à jour des fichiers.
création de 4 vues: - V_RTGE_ALTI - V_RTGE_POINT - V_RTGE_LINEAIRE - V_RTGE_LINEAIRE_SOMMET qui interrogent les tables: - TA_RTGE_ALTI - TA_RTGE_POINT - TA_RTGE_LINEAIRE - TA_RTGE_LINEAIRE_SOMMET
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Problèmes identifiés :
Absence de Z dans les MTD spatiales des vues alors que les tables sur lesquelles elles tapent en ont un.
Remarques :
- enlève tout ce qui est cudl des commentaires (inutile) ;
- attention aux accents dans les commentaires ;
- différences entre les commentaires du fichier et ceux de l'objet alors qu'ils sont censés être identiques ;
DROP INDEX TA_RTGE_ALTI_CODE_TYPE_IDX; | ||
DROP INDEX TA_RTGE_ALTI_LIBELLE_TYPE_IDX; | ||
DROP TABLE TA_RTGE_ALTI; | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rajouter un commit ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est ajouté
DROP INDEX TA_RTGE_ALTI_IDENTIFIANT_TYPE_IDX; | ||
DROP INDEX TA_RTGE_ALTI_CODE_TYPE_IDX; | ||
DROP INDEX TA_RTGE_ALTI_LIBELLE_TYPE_IDX; | ||
DROP TABLE TA_RTGE_ALTI; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rajoute CASCADE CONSTRAINTS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est ajouté
DROP INDEX TA_RTGE_LINEAIRE_IDENTIFIANT_TYPE_IDX; | ||
DROP INDEX TA_RTGE_LINEAIRE_CODE_TYPE_IDX; | ||
DROP INDEX TA_RTGE_LINEAIRE_LIBELLE_TYPE_IDX; | ||
DROP TABLE TA_RTGE_LINEAIRE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rajoute CASCADE CONSTRAINTS et un commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est ajoutés
|
||
|
||
-- 2. Commentaire | ||
COMMENT ON TABLE G_GEO.TA_RTGE_LINEAIRE IS 'Table qui présente les éléments contenus dans la table GEO@cudl.TA_LIG_TOPO_F. Les arcs sont linéarisés'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enlève le @CUDL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est retiré.
DROP INDEX TA_RTGE_LINEAIRE_SOMMET_IDENTIFIANT_TYPE_IDX; | ||
DROP INDEX TA_RTGE_LINEAIRE_SOMMET_CODE_TYPE_IDX; | ||
DROP INDEX TA_RTGE_LINEAIRE_SOMMET_LIBELLE_TYPE_IDX; | ||
DROP TABLE TA_RTGE_LINEAIRE_SOMMET; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rajoute CASCADE CONSTRAINTS et un commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est ajoutés
COMMENT ON TABLE G_GEO.V_RTGE_LINEAIRE IS 'Vue qui présente les points contenus dans la table G_GEO.TA_RTGE_LINEAIRE (les arcs sont linearises).'; | ||
|
||
-- 3. Creation des commentaires des colonnes. | ||
COMMENT ON COLUMN G_GEO.V_RTGE_LINEAIRE.IDENTIFIANT_OBJET IS 'Identifiant interne de l''objet geographique - Cle primaire de la vue materialisee'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
il ne s'agit pas d'une VM mais d'une vue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est corrigé
VALUES( | ||
'V_RTGE_LINEAIRE', | ||
'GEOM', | ||
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', 684540, 719822.2, 0.005),SDO_DIM_ELEMENT('Y', 7044212, 7078072, 0.005)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas de Z alors que les données source en ont un. C'est normal ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est corrigé
@@ -0,0 +1,73 @@ | |||
-- Creation de la vue V_RTGE_LINEAIRE afin de restituer les informations des dossiers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commentaire différent de celui de la vue alors qu'il sont censés être identiques.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est corrigé
VALUES( | ||
'V_RTGE_LINEAIRE_SOMMET', | ||
'GEOM', | ||
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', 684540, 719822.2, 0.005),SDO_DIM_ELEMENT('Y', 7044212, 7078072, 0.005)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas de Z alors que les données source en ont un. C'est normal ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est corrigé
VALUES( | ||
'V_RTGE_POINT', | ||
'GEOM', | ||
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', 684540, 719822.2, 0.005),SDO_DIM_ELEMENT('Y', 7044212, 7078072, 0.005)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas de Z alors que les données source en ont un. C'est normal ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est corrigé
Correction suite à une relecture de la pull request
Objectif
Mettre à disposition avec un flux WFS les données contenues dans les tables TA_LIG_TOPO_F et TA_POINT_TOPO_F
Actions à mener
Créer des tables pour accueillir les données sur l'instance de production,
Créer les vues de restitution des données avec l'altitude dans un champ si nécessaire: