Subversion Repositories eFlore/Applications.cel

Rev

Rev 2493 | Rev 2682 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2493 Rev 2537
1
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
1
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
2
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
2
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
3
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
3
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
4
 
4
 
5
 
5
 
6
-- -----------------------------------------------------
6
-- -----------------------------------------------------
7
-- Table `cel_utilisateurs`
7
-- Table `cel_utilisateurs`
8
-- -----------------------------------------------------
8
-- -----------------------------------------------------
9
CREATE TABLE IF NOT EXISTS `cel_utilisateurs` (
9
CREATE TABLE IF NOT EXISTS `cel_utilisateurs` (
10
  `id_utilisateur` INT NOT NULL,
10
  `id_utilisateur` INT NOT NULL,
11
  `prenom` VARCHAR(255) NULL DEFAULT NULL,
11
  `prenom` VARCHAR(255) NULL DEFAULT NULL,
12
  `nom` VARCHAR(255) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
12
  `nom` VARCHAR(255) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
13
  `courriel` VARCHAR(255) NOT NULL,
13
  `courriel` VARCHAR(255) NOT NULL,
14
  `mot_de_passe` VARCHAR(45) NOT NULL,
14
  `mot_de_passe` VARCHAR(45) NOT NULL,
15
  `admin` TINYINT(1) NULL DEFAULT '0',
15
  `admin` TINYINT(1) NULL DEFAULT '0',
16
  `licence_acceptee` TINYINT(1) NULL DEFAULT '0' COMMENT 'Acceptation de la licence utilisateur pour le cel\n',
16
  `licence_acceptee` TINYINT(1) NULL DEFAULT '0' COMMENT 'Acceptation de la licence utilisateur pour le cel\n',
17
  `preferences` LONGTEXT NULL DEFAULT NULL COMMENT 'Préférences utilisateur sérialisées sous une forme à définir\n',
17
  `preferences` LONGTEXT NULL DEFAULT NULL COMMENT 'Préférences utilisateur sérialisées sous une forme à définir\n',
18
  `date__premiere_utilisation` DATETIME NOT NULL,
18
  `date__premiere_utilisation` DATETIME NOT NULL,
19
  PRIMARY KEY (`id_utilisateur`))
19
  PRIMARY KEY (`id_utilisateur`))
20
ENGINE = MyISAM
20
ENGINE = MyISAM
21
DEFAULT CHARACTER SET = utf8
21
DEFAULT CHARACTER SET = utf8
22
COLLATE = utf8_general_ci;
22
COLLATE = utf8_general_ci;
23
 
23
 
24
 
24
 
25
-- -----------------------------------------------------
25
-- -----------------------------------------------------
26
-- Table `cel_arbre_mots_cles_images`
26
-- Table `cel_arbre_mots_cles_images`
27
-- -----------------------------------------------------
27
-- -----------------------------------------------------
28
CREATE TABLE IF NOT EXISTS `cel_arbre_mots_cles_images` (
28
CREATE TABLE IF NOT EXISTS `cel_arbre_mots_cles_images` (
29
  `id_mot_cle` INT NOT NULL AUTO_INCREMENT,
29
  `id_mot_cle` INT NOT NULL AUTO_INCREMENT,
30
  `chemin` VARCHAR(2048) NULL,
30
  `chemin` VARCHAR(2048) NULL,
31
  `mot_cle` VARCHAR(80) NULL,
31
  `mot_cle` VARCHAR(80) NULL,
32
  `id_utilisateur` VARCHAR(255) NULL,
32
  `id_utilisateur` VARCHAR(255) NULL,
33
  PRIMARY KEY (`id_mot_cle`))
33
  PRIMARY KEY (`id_mot_cle`))
34
ENGINE = MyISAM;
34
ENGINE = MyISAM;
35
 
35
 
36
 
36
 
37
-- -----------------------------------------------------
37
-- -----------------------------------------------------
38
-- Table `cel_mots_cles_images_liaison`
38
-- Table `cel_mots_cles_images_liaison`
39
-- -----------------------------------------------------
39
-- -----------------------------------------------------
40
CREATE TABLE IF NOT EXISTS `cel_mots_cles_images_liaison` (
40
CREATE TABLE IF NOT EXISTS `cel_mots_cles_images_liaison` (
41
  `id_element_lie` INT NOT NULL,
41
  `id_element_lie` INT NOT NULL,
42
  `id_mot_cle` INT NOT NULL,
42
  `id_mot_cle` INT NOT NULL,
43
  PRIMARY KEY (`id_element_lie`, `id_mot_cle`),
43
  PRIMARY KEY (`id_element_lie`, `id_mot_cle`),
44
  INDEX `fk_cel_mots_cles_images_liaison_cel_arbre_mots_cles_images1_idx` (`id_mot_cle` ASC))
44
  INDEX `fk_cel_mots_cles_images_liaison_cel_arbre_mots_cles_images1_idx` (`id_mot_cle` ASC))
45
ENGINE = MyISAM;
45
ENGINE = MyISAM;
46
 
46
 
47
 
47
 
48
-- -----------------------------------------------------
48
-- -----------------------------------------------------
49
-- Table `cel_zones_geo`
49
-- Table `cel_zones_geo`
50
-- -----------------------------------------------------
50
-- -----------------------------------------------------
51
CREATE TABLE IF NOT EXISTS `cel_zones_geo` (
51
CREATE TABLE IF NOT EXISTS `cel_zones_geo` (
52
  `id_zone_geo` VARCHAR(50) NOT NULL,
52
  `id_zone_geo` VARCHAR(50) NOT NULL,
53
  `code` VARCHAR(10) NOT NULL,
53
  `code` VARCHAR(10) NOT NULL,
54
  `nom` VARCHAR(255) NOT NULL,
54
  `nom` VARCHAR(255) NOT NULL,
55
  `utm_secteur` CHAR(3) NOT NULL,
55
  `utm_secteur` CHAR(3) NOT NULL,
56
  `utm_x` INT NOT NULL DEFAULT '0',
56
  `utm_x` INT NOT NULL DEFAULT '0',
57
  `utm_y` INT NOT NULL DEFAULT '0',
57
  `utm_y` INT NOT NULL DEFAULT '0',
58
  `wgs84_latitude` FLOAT NOT NULL,
58
  `wgs84_latitude` FLOAT NOT NULL,
59
  `wgs84_longitude` FLOAT NOT NULL,
59
  `wgs84_longitude` FLOAT NOT NULL,
60
  `date_modification` DATETIME NOT NULL,
60
  `date_modification` DATETIME NOT NULL,
61
  `ce_zone_geo_parente` VARCHAR(50) NULL DEFAULT NULL,
61
  `ce_zone_geo_parente` VARCHAR(50) NULL DEFAULT NULL,
62
  `bg` BIGINT NULL,
62
  `bg` BIGINT NULL,
63
  `bd` BIGINT NULL,
63
  `bd` BIGINT NULL,
64
  `niveau` INT NULL,
64
  `niveau` INT NULL,
65
  PRIMARY KEY (`id_zone_geo`),
65
  PRIMARY KEY (`id_zone_geo`),
66
  INDEX `nom` (`nom` ASC),
66
  INDEX `nom` (`nom` ASC),
67
  INDEX `zone_geo_parente` (`ce_zone_geo_parente` ASC))
67
  INDEX `zone_geo_parente` (`ce_zone_geo_parente` ASC))
68
ENGINE = MyISAM
68
ENGINE = MyISAM
69
DEFAULT CHARACTER SET = utf8
69
DEFAULT CHARACTER SET = utf8
70
COLLATE = utf8_general_ci;
70
COLLATE = utf8_general_ci;
71
 
71
 
72
 
72
 
73
-- -----------------------------------------------------
73
-- -----------------------------------------------------
74
-- Table `cel_obs_etendues`
74
-- Table `cel_obs_etendues`
75
-- -----------------------------------------------------
75
-- -----------------------------------------------------
76
CREATE TABLE IF NOT EXISTS `cel_obs_etendues` (
76
CREATE TABLE IF NOT EXISTS `cel_obs_etendues` (
77
  `id_observation` BIGINT NOT NULL,
77
  `id_observation` BIGINT NOT NULL,
78
  `cle` VARCHAR(255) NOT NULL COMMENT 'Clé du champ au format chat mot (sans accents).\nEx. : maCle, uneAutreCle',
78
  `cle` VARCHAR(255) NOT NULL COMMENT 'Clé du champ au format chat mot (sans accents).\nEx. : maCle, uneAutreCle',
79
  `valeur` TEXT NOT NULL COMMENT 'Valeur du champ.',
79
  `valeur` TEXT NOT NULL COMMENT 'Valeur du champ.',
80
  PRIMARY KEY (`id_observation`, `cle`))
80
  PRIMARY KEY (`id_observation`, `cle`))
81
ENGINE = MyISAM
81
ENGINE = MyISAM
82
DEFAULT CHARACTER SET = utf8
82
DEFAULT CHARACTER SET = utf8
83
COLLATE = utf8_general_ci
83
COLLATE = utf8_general_ci
84
COMMENT = 'Stockage d\'infos supplémentaires sur une observation';
84
COMMENT = 'Stockage d\'infos supplémentaires sur une observation';
85
 
85
 
86
 
86
 
87
-- -----------------------------------------------------
87
-- -----------------------------------------------------
88
-- Table `cel_arbre_mots_cles_obs`
88
-- Table `cel_arbre_mots_cles_obs`
89
-- -----------------------------------------------------
89
-- -----------------------------------------------------
90
CREATE TABLE IF NOT EXISTS `cel_arbre_mots_cles_obs` (
90
CREATE TABLE IF NOT EXISTS `cel_arbre_mots_cles_obs` (
91
  `id_mot_cle` INT NOT NULL AUTO_INCREMENT,
91
  `id_mot_cle` INT NOT NULL AUTO_INCREMENT,
92
  `chemin` VARCHAR(2048) NULL,
92
  `chemin` VARCHAR(2048) NULL,
93
  `mot_cle` VARCHAR(80) NULL,
93
  `mot_cle` VARCHAR(80) NULL,
94
  `id_utilisateur` VARCHAR(255) NULL,
94
  `id_utilisateur` VARCHAR(255) NULL,
95
  PRIMARY KEY (`id_mot_cle`))
95
  PRIMARY KEY (`id_mot_cle`))
96
ENGINE = MyISAM;
96
ENGINE = MyISAM;
97
 
97
 
98
 
98
 
99
-- -----------------------------------------------------
99
-- -----------------------------------------------------
100
-- Table `cel_mots_cles_obs_liaison`
100
-- Table `cel_mots_cles_obs_liaison`
101
-- -----------------------------------------------------
101
-- -----------------------------------------------------
102
CREATE TABLE IF NOT EXISTS `cel_mots_cles_obs_liaison` (
102
CREATE TABLE IF NOT EXISTS `cel_mots_cles_obs_liaison` (
103
  `id_element_lie` INT NOT NULL,
103
  `id_element_lie` INT NOT NULL,
104
  `id_mot_cle` INT NOT NULL,
104
  `id_mot_cle` INT NOT NULL,
105
  PRIMARY KEY (`id_element_lie`, `id_mot_cle`),
105
  PRIMARY KEY (`id_element_lie`, `id_mot_cle`),
106
  INDEX `fk_cel_mots_cles_obs_liaison_cel_arbre_mots_cles_obs1_idx` (`id_mot_cle` ASC))
106
  INDEX `fk_cel_mots_cles_obs_liaison_cel_arbre_mots_cles_obs1_idx` (`id_mot_cle` ASC))
107
ENGINE = MyISAM;
107
ENGINE = MyISAM;
108
 
108
 
109
 
109
 
110
-- -----------------------------------------------------
110
-- -----------------------------------------------------
111
-- Table `cel_obs`
111
-- Table `cel_obs`
112
-- -----------------------------------------------------
112
-- -----------------------------------------------------
113
CREATE TABLE IF NOT EXISTS `cel_obs` (
113
CREATE TABLE IF NOT EXISTS `cel_obs` (
114
  `id_observation` BIGINT NOT NULL AUTO_INCREMENT,
114
  `id_observation` BIGINT NOT NULL AUTO_INCREMENT,
115
  `ordre` BIGINT NOT NULL,
115
  `ordre` BIGINT NOT NULL,
116
  `ce_utilisateur` VARCHAR(255) NULL,
116
  `ce_utilisateur` VARCHAR(255) NULL,
117
  `prenom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
117
  `prenom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
118
  `nom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
118
  `nom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
119
  `courriel_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
119
  `courriel_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
120
  `nom_sel` VARCHAR(601) NULL DEFAULT NULL COMMENT 'doit pouvoir contenir CONCAT(bdtfx.nom_sci, \" \", bdtfx.auteur) soit 601 caractères',
120
  `nom_sel` VARCHAR(601) NULL DEFAULT NULL COMMENT 'doit pouvoir contenir CONCAT(bdtfx.nom_sci, \" \", bdtfx.auteur) soit 601 caractères',
121
  `nom_sel_nn` DECIMAL(9,0) NULL DEFAULT NULL COMMENT 'Numéro du nom sélectionné.',
121
  `nom_sel_nn` DECIMAL(9,0) NULL DEFAULT NULL COMMENT 'Numéro du nom sélectionné.',
122
  `nom_ret` VARCHAR(601) NULL DEFAULT NULL COMMENT 'doit pouvoir contenir CONCAT(bdtfx.nom_sci, \" \", bdtfx.auteur) soit 601 caractères',
122
  `nom_ret` VARCHAR(601) NULL DEFAULT NULL COMMENT 'doit pouvoir contenir CONCAT(bdtfx.nom_sci, \" \", bdtfx.auteur) soit 601 caractères',
123
  `nom_ret_nn` DECIMAL(9,0) NULL DEFAULT NULL COMMENT 'Numéro du nom retenu = num_nom_retenu dans bdtfx',
123
  `nom_ret_nn` DECIMAL(9,0) NULL DEFAULT NULL COMMENT 'Numéro du nom retenu = num_nom_retenu dans bdtfx',
124
  `nt` DECIMAL(9,0) NULL DEFAULT NULL COMMENT 'Numéro taxonomique.',
124
  `nt` DECIMAL(9,0) NULL DEFAULT NULL COMMENT 'Numéro taxonomique.',
125
  `famille` VARCHAR(255) NULL DEFAULT NULL,
125
  `famille` VARCHAR(255) NULL DEFAULT NULL,
126
  `nom_referentiel` VARCHAR(255) NULL DEFAULT NULL,
126
  `nom_referentiel` VARCHAR(255) NULL DEFAULT NULL,
-
 
127
  `pays` VARCHAR(2) NULL DEFAULT NULL COMMENT 'Code de pays suivant le standard ISO 3166-2',
127
  `ce_zone_geo` VARCHAR(50) NULL DEFAULT NULL,
128
  `ce_zone_geo` VARCHAR(50) NULL DEFAULT NULL,
128
  `zone_geo` VARCHAR(255) NULL DEFAULT NULL,
129
  `zone_geo` VARCHAR(255) NULL DEFAULT NULL,
129
  `lieudit` VARCHAR(255) NULL DEFAULT NULL,
130
  `lieudit` VARCHAR(255) NULL DEFAULT NULL,
130
  `station` VARCHAR(255) NULL DEFAULT NULL,
131
  `station` VARCHAR(255) NULL DEFAULT NULL,
131
  `milieu` VARCHAR(255) NULL DEFAULT NULL,
132
  `milieu` VARCHAR(255) NULL DEFAULT NULL,
132
  `latitude` DECIMAL(8,5) NULL DEFAULT NULL,
133
  `latitude` DECIMAL(8,5) NULL DEFAULT NULL,
133
  `longitude` DECIMAL(8,5) NULL DEFAULT NULL,
134
  `longitude` DECIMAL(8,5) NULL DEFAULT NULL,
134
  `altitude` INT(5) NULL DEFAULT NULL,
135
  `altitude` INT(5) NULL DEFAULT NULL,
135
  `geodatum` VARCHAR(25) NULL DEFAULT NULL COMMENT 'Référentiel géographique utilisé.\nPar exmple : WGS84',
136
  `geodatum` VARCHAR(25) NULL DEFAULT NULL COMMENT 'Référentiel géographique utilisé.\nPar exmple : WGS84',
136
  `date_observation` DATETIME NULL DEFAULT NULL,
137
  `date_observation` DATETIME NULL DEFAULT NULL,
137
  `mots_cles_texte` LONGTEXT NULL DEFAULT NULL COMMENT 'Champ calculé contenant la liste des mots clés utilisateurs séparé par des virgules.',
138
  `mots_cles_texte` LONGTEXT NULL DEFAULT NULL COMMENT 'Champ calculé contenant la liste des mots clés utilisateurs séparé par des virgules.',
138
  `commentaire` TEXT NULL DEFAULT NULL,
139
  `commentaire` TEXT NULL DEFAULT NULL,
139
  `transmission` TINYINT(1) NULL DEFAULT NULL,
140
  `transmission` TINYINT(1) NULL DEFAULT NULL,
140
  `date_creation` DATETIME NOT NULL,
141
  `date_creation` DATETIME NOT NULL,
141
  `date_modification` DATETIME NOT NULL,
142
  `date_modification` DATETIME NOT NULL,
142
  `date_transmission` DATETIME NULL DEFAULT NULL,
143
  `date_transmission` DATETIME NULL DEFAULT NULL,
143
  `abondance` VARCHAR(50) NULL DEFAULT NULL,
144
  `abondance` VARCHAR(50) NULL DEFAULT NULL,
144
  `certitude` VARCHAR(255) NULL DEFAULT NULL,
145
  `certitude` VARCHAR(255) NULL DEFAULT NULL,
145
  `phenologie` VARCHAR(255) NULL DEFAULT NULL,
146
  `phenologie` VARCHAR(255) NULL DEFAULT NULL,
146
  `code_insee_calcule` VARCHAR(5) NULL DEFAULT NULL COMMENT 'Code INSEE calculé par un scrip CRON.',
147
  `code_insee_calcule` VARCHAR(5) NULL DEFAULT NULL COMMENT 'Code INSEE calculé par un scrip CRON.',
147
  PRIMARY KEY (`id_observation`),
148
  PRIMARY KEY (`id_observation`),
148
  INDEX `ce_utilisateur` (`ce_utilisateur`(10) ASC),
149
  INDEX `ce_utilisateur` (`ce_utilisateur`(10) ASC),
149
  INDEX `ce_zone_geo` (`ce_zone_geo` ASC),
150
  INDEX `ce_zone_geo` (`ce_zone_geo` ASC),
150
  UNIQUE INDEX `id_obs` (`ce_utilisateur` ASC, `courriel_utilisateur` ASC, `ordre` ASC),
151
  UNIQUE INDEX `id_obs` (`ce_utilisateur` ASC, `courriel_utilisateur` ASC, `ordre` ASC),
151
  INDEX `utilisateur_date_creation` (`ce_utilisateur`(10) ASC, `courriel_utilisateur` ASC, `date_creation` ASC),
152
  INDEX `utilisateur_date_creation` (`ce_utilisateur`(10) ASC, `courriel_utilisateur` ASC, `date_creation` ASC),
152
  INDEX `coordonnees` (`latitude` ASC, `longitude` ASC),
153
  INDEX `coordonnees` (`latitude` ASC, `longitude` ASC),
153
  INDEX `nom_retenu` (`nom_ret` ASC),
154
  INDEX `nom_retenu` (`nom_ret` ASC),
154
  INDEX `date_observation` (`date_observation` ASC),
155
  INDEX `date_observation` (`date_observation` ASC),
155
  INDEX `nom_referentiel` (`nom_referentiel`(5) ASC)  COMMENT ' /* comment truncated */ /*Index sur (bdtfx,bdtfx,isfan)*/',
156
  INDEX `nom_referentiel` (`nom_referentiel`(5) ASC)  COMMENT ' /* comment truncated */ /*Index sur (bdtfx,bdtfx,isfan)*/',
156
  INDEX `date_transmission` (`date_transmission` DESC)  COMMENT ' /* comment truncated */ /*Date_transmission : nécessaire à l'ORDER BY utilisé dans la liste d'observation de DEL*/',
157
  INDEX `date_transmission` (`date_transmission` DESC)  COMMENT ' /* comment truncated */ /*Date_transmission : nécessaire à l'ORDER BY utilisé dans la liste d'observation de DEL*/',
157
  INDEX `transmission` (`transmission` ASC)  COMMENT ' /* comment truncated */ /*Nécessaire à CEL/DEL qui officie avec transmission = 1*/')
158
  INDEX `transmission` (`transmission` ASC)  COMMENT ' /* comment truncated */ /*Nécessaire à CEL/DEL qui officie avec transmission = 1*/')
158
ENGINE = MyISAM
159
ENGINE = MyISAM
159
DEFAULT CHARACTER SET = utf8
160
DEFAULT CHARACTER SET = utf8
160
COLLATE = utf8_general_ci;
161
COLLATE = utf8_general_ci;
161
 
162
 
162
 
163
 
163
-- -----------------------------------------------------
164
-- -----------------------------------------------------
164
-- Table `cel_images`
165
-- Table `cel_images`
165
-- -----------------------------------------------------
166
-- -----------------------------------------------------
166
CREATE TABLE IF NOT EXISTS `cel_images` (
167
CREATE TABLE IF NOT EXISTS `cel_images` (
167
  `id_image` BIGINT NOT NULL AUTO_INCREMENT,
168
  `id_image` BIGINT NOT NULL AUTO_INCREMENT,
168
  `ce_observation` BIGINT NOT NULL,
169
  `ce_observation` BIGINT NOT NULL,
169
  `ordre` BIGINT NOT NULL,
170
  `ordre` BIGINT NOT NULL,
170
  `ce_utilisateur` VARCHAR(255) NULL COMMENT 'L\'id utilisateur est un int mais on utilise un varchar pour stocker des observations avec des identifiants temporaires\n',
171
  `ce_utilisateur` VARCHAR(255) NULL COMMENT 'L\'id utilisateur est un int mais on utilise un varchar pour stocker des observations avec des identifiants temporaires\n',
171
  `prenom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
172
  `prenom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
172
  `nom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
173
  `nom_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
173
  `courriel_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
174
  `courriel_utilisateur` VARCHAR(255) NULL DEFAULT NULL,
174
  `hauteur` INT NOT NULL,
175
  `hauteur` INT NOT NULL,
175
  `largeur` INT NOT NULL,
176
  `largeur` INT NOT NULL,
176
  `appareil_fabriquant` VARCHAR(50) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
177
  `appareil_fabriquant` VARCHAR(50) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
177
  `appareil_modele` VARCHAR(50) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
178
  `appareil_modele` VARCHAR(50) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
178
  `date_prise_de_vue` DATETIME NULL DEFAULT NULL,
179
  `date_prise_de_vue` DATETIME NULL DEFAULT NULL,
179
  `note_qualite` DECIMAL(1,0) NULL DEFAULT NULL,
180
  `note_qualite` DECIMAL(1,0) NULL DEFAULT NULL,
180
  `mots_cles_texte` LONGTEXT NULL DEFAULT NULL COMMENT 'Champ calculé contenant la liste des mots clés utilisateurs séparé par des virgules.\n',
181
  `mots_cles_texte` LONGTEXT NULL DEFAULT NULL COMMENT 'Champ calculé contenant la liste des mots clés utilisateurs séparé par des virgules.\n',
181
  `commentaire` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
182
  `commentaire` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
182
  `nom_original` VARCHAR(255) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
183
  `nom_original` VARCHAR(255) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
183
  `md5` VARCHAR(32) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
184
  `md5` VARCHAR(32) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
184
  `meta_exif` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
185
  `meta_exif` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
185
  `meta_iptc` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
186
  `meta_iptc` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL,
186
  `meta_xmp` LONGTEXT NULL DEFAULT NULL,
187
  `meta_xmp` LONGTEXT NULL DEFAULT NULL,
187
  `meta_makernote` LONGTEXT NULL DEFAULT NULL,
188
  `meta_makernote` LONGTEXT NULL DEFAULT NULL,
188
  `meta_autres` LONGTEXT NULL DEFAULT NULL,
189
  `meta_autres` LONGTEXT NULL DEFAULT NULL,
189
  `transmission` TINYINT(1) NOT NULL DEFAULT 0,
190
  `transmission` TINYINT(1) NOT NULL DEFAULT 0,
190
  `date_creation` DATETIME NOT NULL COMMENT 'Date d\'ajout de l\'image au CEL.',
191
  `date_creation` DATETIME NOT NULL COMMENT 'Date d\'ajout de l\'image au CEL.',
191
  `date_modification` DATETIME NOT NULL,
192
  `date_modification` DATETIME NOT NULL,
192
  `date_liaison` DATETIME NULL DEFAULT NULL,
193
  `date_liaison` DATETIME NULL DEFAULT NULL,
193
  `date_transmission` DATETIME NULL DEFAULT NULL,
194
  `date_transmission` DATETIME NULL DEFAULT NULL,
194
  PRIMARY KEY (`id_image`),
195
  PRIMARY KEY (`id_image`),
195
  INDEX `id_image` (`ce_utilisateur` ASC, `courriel_utilisateur` ASC, `ordre` ASC),
196
  INDEX `id_image` (`ce_utilisateur` ASC, `courriel_utilisateur` ASC, `ordre` ASC),
196
  INDEX `ce_utilisateur` (`ce_utilisateur` ASC),
197
  INDEX `ce_utilisateur` (`ce_utilisateur` ASC),
197
  INDEX `ce_observation` (`ce_observation` ASC),
198
  INDEX `ce_observation` (`ce_observation` ASC),
198
  INDEX `date_creation` (`date_creation` ASC),
199
  INDEX `date_creation` (`date_creation` ASC),
199
  INDEX `date_prise_de_vue` (`date_prise_de_vue` ASC),
200
  INDEX `date_prise_de_vue` (`date_prise_de_vue` ASC),
200
  INDEX `utilisateur_date_creation` (`date_creation` ASC, `ce_utilisateur` ASC, `id_image` ASC))
201
  INDEX `utilisateur_date_creation` (`date_creation` ASC, `ce_utilisateur` ASC, `id_image` ASC))
201
ENGINE = MyISAM
202
ENGINE = MyISAM
202
AUTO_INCREMENT = 265
203
AUTO_INCREMENT = 265
203
DEFAULT CHARACTER SET = utf8
204
DEFAULT CHARACTER SET = utf8
204
COLLATE = utf8_general_ci;
205
COLLATE = utf8_general_ci;
205
 
206
 
206
 
207
 
207
-- -----------------------------------------------------
208
-- -----------------------------------------------------
208
-- Table `cel_utilisateurs_infos`
209
-- Table `cel_utilisateurs_infos`
209
-- -----------------------------------------------------
210
-- -----------------------------------------------------
210
CREATE TABLE IF NOT EXISTS `cel_utilisateurs_infos` (
211
CREATE TABLE IF NOT EXISTS `cel_utilisateurs_infos` (
211
  `id_utilisateur` INT NOT NULL,
212
  `id_utilisateur` INT NOT NULL,
212
  `admin` TINYINT(1) NOT NULL DEFAULT 0,
213
  `admin` TINYINT(1) NOT NULL DEFAULT 0,
213
  `licence_acceptee` TINYINT(1) NOT NULL DEFAULT 0,
214
  `licence_acceptee` TINYINT(1) NOT NULL DEFAULT 0,
214
  `preferences` LONGTEXT NULL DEFAULT NULL,
215
  `preferences` LONGTEXT NULL DEFAULT NULL,
215
  `date_premiere_utilisation` DATETIME NOT NULL,
216
  `date_premiere_utilisation` DATETIME NOT NULL,
216
  PRIMARY KEY (`id_utilisateur`),
217
  PRIMARY KEY (`id_utilisateur`),
217
  INDEX `id_utilisateur` (`id_utilisateur` ASC))
218
  INDEX `id_utilisateur` (`id_utilisateur` ASC))
218
ENGINE = MyISAM
219
ENGINE = MyISAM
219
DEFAULT CHARACTER SET = utf8
220
DEFAULT CHARACTER SET = utf8
220
COLLATE = utf8_general_ci
221
COLLATE = utf8_general_ci
221
COMMENT = 'Contient les infos utilisateurs spécifiques au CEL. À utilis /* comment truncated */ /*er avec une vue pour récupérer les infos de la table annuaire_tela.*/';
222
COMMENT = 'Contient les infos utilisateurs spécifiques au CEL. À utilis /* comment truncated */ /*er avec une vue pour récupérer les infos de la table annuaire_tela.*/';
222
 
223
 
223
 
224
 
224
-- -----------------------------------------------------
225
-- -----------------------------------------------------
225
-- Table `cel_images_etendues`
226
-- Table `cel_images_etendues`
226
-- -----------------------------------------------------
227
-- -----------------------------------------------------
227
CREATE TABLE IF NOT EXISTS `cel_images_etendues` (
228
CREATE TABLE IF NOT EXISTS `cel_images_etendues` (
228
  `id_observation` BIGINT NOT NULL,
229
  `id_observation` BIGINT NOT NULL,
229
  `cle` VARCHAR(255) NOT NULL COMMENT 'Clé du champ au format chat mot (sans accents).\nEx. : maCle, uneAutreCle',
230
  `cle` VARCHAR(255) NOT NULL COMMENT 'Clé du champ au format chat mot (sans accents).\nEx. : maCle, uneAutreCle',
230
  `valeur` TEXT NOT NULL COMMENT 'Valeur du champ.',
231
  `valeur` TEXT NOT NULL COMMENT 'Valeur du champ.',
231
  PRIMARY KEY (`id_observation`, `cle`),
232
  PRIMARY KEY (`id_observation`, `cle`),
232
  INDEX `id_observation` (`id_observation` ASC))
233
  INDEX `id_observation` (`id_observation` ASC))
233
ENGINE = MyISAM
234
ENGINE = MyISAM
234
DEFAULT CHARACTER SET = utf8
235
DEFAULT CHARACTER SET = utf8
235
COLLATE = utf8_general_ci
236
COLLATE = utf8_general_ci
236
COMMENT = 'Stockage d\'info supplémentaires sur une image';
237
COMMENT = 'Stockage d\'info supplémentaires sur une image';
237
 
238
 
238
 
239
 
239
-- -----------------------------------------------------
240
-- -----------------------------------------------------
240
-- Table `cel_references`
241
-- Table `cel_references`
241
-- -----------------------------------------------------
242
-- -----------------------------------------------------
242
CREATE TABLE IF NOT EXISTS `cel_references` (
243
CREATE TABLE IF NOT EXISTS `cel_references` (
243
  `referentiel` INT NOT NULL,
244
  `referentiel` INT NOT NULL,
244
  `num_nom` INT NOT NULL,
245
  `num_nom` INT NOT NULL,
245
  `num_nom_retenu` INT NULL,
246
  `num_nom_retenu` INT NULL,
246
  `num_taxon` INT NOT NULL,
247
  `num_taxon` INT NOT NULL,
247
  `nom_sci` VARCHAR(500) NOT NULL,
248
  `nom_sci` VARCHAR(500) NOT NULL,
248
  `auteur` VARCHAR(100) NULL,
249
  `auteur` VARCHAR(100) NULL,
249
  `nom_commun` VARCHAR(60) NULL,
250
  `nom_commun` VARCHAR(60) NULL,
250
  `catminat_code` VARCHAR(18) NULL,
251
  `catminat_code` VARCHAR(18) NULL,
251
  `ve_lumiere` INT(1) NULL,
252
  `ve_lumiere` INT(1) NULL,
252
  `ve_temperature` INT(1) NULL,
253
  `ve_temperature` INT(1) NULL,
253
  `ve_continentalite` INT(1) NULL,
254
  `ve_continentalite` INT(1) NULL,
254
  `ve_humidite_atmos` INT(1) NULL,
255
  `ve_humidite_atmos` INT(1) NULL,
255
  `ve_humidite_edaph` INT(2) NULL,
256
  `ve_humidite_edaph` INT(2) NULL,
256
  `ve_reaction_sol` INT(1) NULL,
257
  `ve_reaction_sol` INT(1) NULL,
257
  `ve_nutriments_sol` INT(1) NULL,
258
  `ve_nutriments_sol` INT(1) NULL,
258
  `ve_salinite` INT(1) NULL,
259
  `ve_salinite` INT(1) NULL,
259
  `ve_texture_sol` INT(1) NULL,
260
  `ve_texture_sol` INT(1) NULL,
260
  `ve_mat_org_sol` INT(1) NULL,
261
  `ve_mat_org_sol` INT(1) NULL,
261
  `syntaxon` VARCHAR(255) NULL,
262
  `syntaxon` VARCHAR(255) NULL,
262
  PRIMARY KEY (`referentiel`, `num_nom`),
263
  PRIMARY KEY (`referentiel`, `num_nom`),
263
  INDEX `referentiel` (`referentiel` ASC),
264
  INDEX `referentiel` (`referentiel` ASC),
264
  INDEX `num_nom` (`num_nom` ASC),
265
  INDEX `num_nom` (`num_nom` ASC),
265
  INDEX `num_taxon` (`num_taxon` ASC),
266
  INDEX `num_taxon` (`num_taxon` ASC),
266
  INDEX `num_nom_retenu` (`num_nom_retenu` ASC))
267
  INDEX `num_nom_retenu` (`num_nom_retenu` ASC))
267
ENGINE = MyISAM
268
ENGINE = MyISAM
268
DEFAULT CHARACTER SET = utf8
269
DEFAULT CHARACTER SET = utf8
269
COLLATE = utf8_general_ci;
270
COLLATE = utf8_general_ci;
270
 
271
 
271
 
272
 
272
-- -----------------------------------------------------
273
-- -----------------------------------------------------
273
-- Table `cel_catalogue_champs_etendus`
274
-- Table `cel_catalogue_champs_etendus`
274
-- -----------------------------------------------------
275
-- -----------------------------------------------------
275
CREATE TABLE IF NOT EXISTS `cel_catalogue_champs_etendus` (
276
CREATE TABLE IF NOT EXISTS `cel_catalogue_champs_etendus` (
276
  `cle` VARCHAR(255) NOT NULL,
277
  `cle` VARCHAR(255) NOT NULL,
277
  `label` VARCHAR(255) NULL,
278
  `label` VARCHAR(255) NULL,
278
  `invisible` TINYINT(1) NOT NULL DEFAULT 0,
279
  `invisible` TINYINT(1) NOT NULL DEFAULT 0,
279
  `groupe` TINYINT(1) NOT NULL DEFAULT 0,
280
  `groupe` TINYINT(1) NOT NULL DEFAULT 0,
280
  `prive` TINYINT(1) NOT NULL DEFAULT 0,
281
  `prive` TINYINT(1) NOT NULL DEFAULT 0,
281
  PRIMARY KEY (`cle`))
282
  PRIMARY KEY (`cle`))
282
ENGINE = InnoDB
283
ENGINE = InnoDB
283
DEFAULT CHARACTER SET = utf8
284
DEFAULT CHARACTER SET = utf8
284
COLLATE = utf8_general_ci;
285
COLLATE = utf8_general_ci;
285
 
286
 
286
 
287
 
287
-- -----------------------------------------------------
288
-- -----------------------------------------------------
288
-- Table `cel_catalogue_champs_etendus_liaison`
289
-- Table `cel_catalogue_champs_etendus_liaison`
289
-- -----------------------------------------------------
290
-- -----------------------------------------------------
290
CREATE TABLE IF NOT EXISTS `cel_catalogue_champs_etendus_liaison` (
291
CREATE TABLE IF NOT EXISTS `cel_catalogue_champs_etendus_liaison` (
291
  `groupe` VARCHAR(255) NOT NULL,
292
  `groupe` VARCHAR(255) NOT NULL,
292
  `champ` VARCHAR(255) NOT NULL,
293
  `champ` VARCHAR(255) NOT NULL,
293
  PRIMARY KEY (`groupe`, `champ`),
294
  PRIMARY KEY (`groupe`, `champ`),
294
  INDEX `fk_cel_catalogue_champs_etendus_liaison_cel_catalogue_champ_idx` (`champ` ASC))
295
  INDEX `fk_cel_catalogue_champs_etendus_liaison_cel_catalogue_champ_idx` (`champ` ASC))
295
ENGINE = InnoDB
296
ENGINE = InnoDB
296
DEFAULT CHARACTER SET = utf8
297
DEFAULT CHARACTER SET = utf8
297
COLLATE = utf8_general_ci;
298
COLLATE = utf8_general_ci;
298
 
299
 
299
 
300
 
300
-- -----------------------------------------------------
301
-- -----------------------------------------------------
301
-- Placeholder table for view `cel_utilisateurs`
302
-- Placeholder table for view `cel_utilisateurs`
302
-- -----------------------------------------------------
303
-- -----------------------------------------------------
303
CREATE TABLE IF NOT EXISTS `cel_utilisateurs` (`id_utilisateur` INT, `prenom` INT, `nom` INT, `courriel` INT, `mot_de_passe` INT, `licence_acceptee` INT, `admin` INT, `preferences` INT, `date_premiere_utilisation` INT);
304
CREATE TABLE IF NOT EXISTS `cel_utilisateurs` (`id_utilisateur` INT, `prenom` INT, `nom` INT, `courriel` INT, `mot_de_passe` INT, `licence_acceptee` INT, `admin` INT, `preferences` INT, `date_premiere_utilisation` INT);
304
 
305
 
305
-- -----------------------------------------------------
306
-- -----------------------------------------------------
306
-- Placeholder table for view `cel_tapir`
307
-- Placeholder table for view `cel_tapir`
307
-- -----------------------------------------------------
308
-- -----------------------------------------------------
308
CREATE TABLE IF NOT EXISTS `cel_tapir` (`guid` INT, `observation_id` INT, `observation_date` INT, `nom_scientifique_complet` INT, `nom_num_nomenclatural` INT, `nom_num_taxonomique` INT, `nom_famille` INT, `lieu_commune_nom_complet` INT, `lieu_commune_nom` INT, `lieu_commune_code_insee` INT, `lieu_commune_source` INT, `lieu_latitude` INT, `lieu_longitude` INT, `lieu_geodatum` INT, `lieu_georeference_source` INT, `lieu_localite` INT, `observateur_prenom` INT, `observateur_nom` INT, `observateur_courriel` INT, `observateur_nom_complet` INT, `observateur_intitule` INT, `observation_commentaire` INT, `observation_information_complement` INT, `saisie_date_modification` INT, `saisie_date_creation` INT);
309
CREATE TABLE IF NOT EXISTS `cel_tapir` (`guid` INT, `observation_id` INT, `observation_date` INT, `nom_scientifique_complet` INT, `nom_num_nomenclatural` INT, `nom_num_taxonomique` INT, `nom_famille` INT, `lieu_commune_nom_complet` INT, `lieu_commune_nom` INT, `lieu_commune_code_insee` INT, `lieu_commune_source` INT, `lieu_latitude` INT, `lieu_longitude` INT, `lieu_geodatum` INT, `lieu_georeference_source` INT, `lieu_localite` INT, `observateur_prenom` INT, `observateur_nom` INT, `observateur_courriel` INT, `observateur_nom_complet` INT, `observateur_intitule` INT, `observation_commentaire` INT, `observation_information_complement` INT, `saisie_date_modification` INT, `saisie_date_creation` INT);
309
 
310
 
310
-- -----------------------------------------------------
311
-- -----------------------------------------------------
311
-- View `cel_utilisateurs`
312
-- View `cel_utilisateurs`
312
-- -----------------------------------------------------
313
-- -----------------------------------------------------
313
DROP TABLE IF EXISTS `cel_utilisateurs`;
314
DROP TABLE IF EXISTS `cel_utilisateurs`;
314
CREATE  OR REPLACE VIEW `cel_utilisateurs` AS 
315
CREATE  OR REPLACE VIEW `cel_utilisateurs` AS 
315
	SELECT at.U_ID AS id_utilisateur, at.U_SURNAME AS prenom, at.U_NAME AS nom, at.U_MAIL AS courriel, at.U_PASSWD AS mot_de_passe,  
316
	SELECT at.U_ID AS id_utilisateur, at.U_SURNAME AS prenom, at.U_NAME AS nom, at.U_MAIL AS courriel, at.U_PASSWD AS mot_de_passe,  
316
		ui.licence_acceptee, ui.admin, ui.preferences, ui.date_premiere_utilisation 
317
		ui.licence_acceptee, ui.admin, ui.preferences, ui.date_premiere_utilisation 
317
	FROM tela_prod_v4.annuaire_tela AS at
318
	FROM tela_prod_v4.annuaire_tela AS at
318
		LEFT JOIN cel_utilisateurs_infos AS ui ON (ui.id_utilisateur = at.U_ID);
319
		LEFT JOIN cel_utilisateurs_infos AS ui ON (ui.id_utilisateur = at.U_ID);
319
 
320
 
320
-- -----------------------------------------------------
321
-- -----------------------------------------------------
321
-- View `cel_tapir`
322
-- View `cel_tapir`
322
-- -----------------------------------------------------
323
-- -----------------------------------------------------
323
DROP TABLE IF EXISTS `cel_tapir`;
324
DROP TABLE IF EXISTS `cel_tapir`;
324
CREATE  OR REPLACE VIEW `cel_tapir` AS 
325
CREATE  OR REPLACE VIEW `cel_tapir` AS 
325
	select concat(_utf8'urn:lsid:tela-botanica.org:cel:',`o`.`id_observation`) AS `guid`,
326
	select concat(_utf8'urn:lsid:tela-botanica.org:cel:',`o`.`id_observation`) AS `guid`,
326
		`o`.`id_observation` AS `observation_id`,
327
		`o`.`id_observation` AS `observation_id`,
327
		date_format(`o`.`date_observation`,'%Y-%m-%d') AS `observation_date`,
328
		date_format(`o`.`date_observation`,'%Y-%m-%d') AS `observation_date`,
328
		`o`.`nom_sel` AS `nom_scientifique_complet`,
329
		`o`.`nom_sel` AS `nom_scientifique_complet`,
329
		`o`.`nom_sel_nn` AS `nom_num_nomenclatural`,
330
		`o`.`nom_sel_nn` AS `nom_num_nomenclatural`,
330
		`o`.`nt` AS `nom_num_taxonomique`,
331
		`o`.`nt` AS `nom_num_taxonomique`,
331
		`o`.`famille` AS `nom_famille`,
332
		`o`.`famille` AS `nom_famille`,
332
		concat(_utf8'',`zg`.`nom`,' [INSEE:',`zg`.`code`,']') AS `lieu_commune_nom_complet`,
333
		concat(_utf8'',`zg`.`nom`,' [INSEE:',`zg`.`code`,']') AS `lieu_commune_nom_complet`,
333
		`zg`.`nom` AS `lieu_commune_nom`,
334
		`zg`.`nom` AS `lieu_commune_nom`,
334
		`zg`.`code` AS `lieu_commune_code_insee`,
335
		`zg`.`code` AS `lieu_commune_code_insee`,
335
		if((`zg`.`code` <> ''), 'Lion1906 version 26-05-2008 - http://www.lion1906.com/', NULL) AS `lieu_commune_source`,
336
		if((`zg`.`code` <> ''), 'Lion1906 version 26-05-2008 - http://www.lion1906.com/', NULL) AS `lieu_commune_source`,
336
		format(if((`o`.`latitude` <> ''), `o`.`latitude`, `zg`.`wgs84_latitude`), 5) AS `lieu_latitude`,
337
		format(if((`o`.`latitude` <> ''), `o`.`latitude`, `zg`.`wgs84_latitude`), 5) AS `lieu_latitude`,
337
		format(if((`o`.`longitude` <> ''), `o`.`longitude`, `zg`.`wgs84_longitude`), 5) AS `lieu_longitude`,
338
		format(if((`o`.`longitude` <> ''), `o`.`longitude`, `zg`.`wgs84_longitude`), 5) AS `lieu_longitude`,
338
		`o`.`geodatum` AS `lieu_geodatum`,
339
		`o`.`geodatum` AS `lieu_geodatum`,
339
		if((`o`.`geodatum` <> ''), 'Coordonnées issues de l''utilisation de Google Map', NULL) AS `lieu_georeference_source`,
340
		if((`o`.`geodatum` <> ''), 'Coordonnées issues de l''utilisation de Google Map', NULL) AS `lieu_georeference_source`,
340
		`o`.`lieudit` AS `lieu_localite`,
341
		`o`.`lieudit` AS `lieu_localite`,
341
		`o`.`prenom_utilisateur` AS `observateur_prenom`,
342
		`o`.`prenom_utilisateur` AS `observateur_prenom`,
342
		`o`.`nom_utilisateur` AS `observateur_nom`,
343
		`o`.`nom_utilisateur` AS `observateur_nom`,
343
		`o`.`courriel_utilisateur` AS `observateur_courriel`,
344
		`o`.`courriel_utilisateur` AS `observateur_courriel`,
344
		concat(`o`.`prenom_utilisateur`,_utf8' ',`o`.`nom_utilisateur`) AS `observateur_nom_complet`,
345
		concat(`o`.`prenom_utilisateur`,_utf8' ',`o`.`nom_utilisateur`) AS `observateur_nom_complet`,
345
		concat_ws(' ',`o`.`prenom_utilisateur`,`o`.`nom_utilisateur`,concat('<',`o`.`courriel_utilisateur`,'>')) AS `observateur_intitule`,
346
		concat_ws(' ',`o`.`prenom_utilisateur`,`o`.`nom_utilisateur`,concat('<',`o`.`courriel_utilisateur`,'>')) AS `observateur_intitule`,
346
		`o`.`commentaire` AS `observation_commentaire`,
347
		`o`.`commentaire` AS `observation_commentaire`,
347
		concat(_utf8'nom_num_nomenclatural=',`o`.`nom_sel_nn`,'; ',
348
		concat(_utf8'nom_num_nomenclatural=',`o`.`nom_sel_nn`,'; ',
348
			'nom_ret=',encodeToDcsv(`o`.`nom_ret`),'; ',
349
			'nom_ret=',encodeToDcsv(`o`.`nom_ret`),'; ',
349
			'nom_num_ret=',`o`.`nom_ret_nn`,'; ',
350
			'nom_num_ret=',`o`.`nom_ret_nn`,'; ',
350
			'nom_num_taxonomique=',`o`.`nt`,'; ',
351
			'nom_num_taxonomique=',`o`.`nt`,'; ',
351
			'nom_referentiel=',encodeToDcsv(`o`.`nom_referentiel`),'; ',
352
			'nom_referentiel=',encodeToDcsv(`o`.`nom_referentiel`),'; ',
352
			'saisie_date_transmission=',`o`.`date_transmission`,'; ',
353
			'saisie_date_transmission=',`o`.`date_transmission`,'; ',
353
			'saisie_date_creation=',`o`.`date_creation`,'; ',
354
			'saisie_date_creation=',`o`.`date_creation`,'; ',
354
			'ordre=',`o`.`ordre`,'; ',
355
			'ordre=',`o`.`ordre`,'; ',
355
			'station=',encodeToDcsv(`o`.`station`),'; ',
356
			'station=',encodeToDcsv(`o`.`station`),'; ',
356
			'milieu=',encodeToDcsv(`o`.`milieu`),'; ',
357
			'milieu=',encodeToDcsv(`o`.`milieu`),'; ',
357
			'mots_cles=',encodeToDcsv(`o`.`mots_cles_texte`),'; ',
358
			'mots_cles=',encodeToDcsv(`o`.`mots_cles_texte`),'; ',
358
			'zg_utm_secteur=',encodeToDcsv(`zg`.`utm_secteur`),'; ',
359
			'zg_utm_secteur=',encodeToDcsv(`zg`.`utm_secteur`),'; ',
359
			'zg_date_modification=',`zg`.`date_modification`) AS `observation_information_complement`,
360
			'zg_date_modification=',`zg`.`date_modification`) AS `observation_information_complement`,
360
		`o`.`date_modification` AS `saisie_date_modification`,
361
		`o`.`date_modification` AS `saisie_date_modification`,
361
		`o`.`date_creation` AS `saisie_date_creation` 
362
		`o`.`date_creation` AS `saisie_date_creation` 
362
	from (`cel_obs` `o` 
363
	from (`cel_obs` `o` 
363
		left join `cel_zones_geo` `zg` on((`o`.`ce_zone_geo` = `zg`.`id_zone_geo`))) 
364
		left join `cel_zones_geo` `zg` on((`o`.`ce_zone_geo` = `zg`.`id_zone_geo`))) 
364
	where `o`.`transmission` = 1 
365
	where `o`.`transmission` = 1 
365
		AND (`o`.`mots_cles_texte` NOT LIKE '%sensible%' OR `o`.`mots_cles_texte` IS NULL);
366
		AND (`o`.`mots_cles_texte` NOT LIKE '%sensible%' OR `o`.`mots_cles_texte` IS NULL);
366
 
367
 
367
SET SQL_MODE=@OLD_SQL_MODE;
368
SET SQL_MODE=@OLD_SQL_MODE;
368
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
369
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
369
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
370
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
370
 
371
 
371
-- -----------------------------------------------------
372
-- -----------------------------------------------------
372
-- Data for table `cel_catalogue_champs_etendus`
373
-- Data for table `cel_catalogue_champs_etendus`
373
-- -----------------------------------------------------
374
-- -----------------------------------------------------
374
START TRANSACTION;
375
START TRANSACTION;
375
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('adresse', ' Adresse',  0,  0,  0);
376
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('adresse', ' Adresse',  0,  0,  0);
376
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardAligneNbre', ' Nombre d\'arbres d\'alignement',  0,  0,  0);
377
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardAligneNbre', ' Nombre d\'arbres d\'alignement',  0,  0,  0);
377
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardCirconferenceA1m', ' Circonférence à 1 m du sol (en m)',  0,  0,  0);
378
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardCirconferenceA1m', ' Circonférence à 1 m du sol (en m)',  0,  0,  0);
378
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardClasseCirconferenceA1m', ' Classe de circonférence à 1 m du sol (en m)',  0,  0,  0);
379
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardClasseCirconferenceA1m', ' Classe de circonférence à 1 m du sol (en m)',  0,  0,  0);
379
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardEntretientCoupe', ' Type d\'entretien',  0,  0,  0);
380
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardEntretientCoupe', ' Type d\'entretien',  0,  0,  0);
380
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardEtatSanitaire', ' État sanitaire',  0,  0,  0);
381
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardEtatSanitaire', ' État sanitaire',  0,  0,  0);
381
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardFormation', ' Type de formation',  0,  0,  0);
382
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardFormation', ' Type de formation',  0,  0,  0);
382
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardHauteurTete', ' Hauteur de la tête (en m)',  0,  0,  0);
383
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardHauteurTete', ' Hauteur de la tête (en m)',  0,  0,  0);
383
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardPresenceCavite', ' Présence de cavités',  0,  0,  0);
384
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardPresenceCavite', ' Présence de cavités',  0,  0,  0);
384
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardPresenceSp', ' Présence d\'espèces sur l\'arbre',  0,  0,  0);
385
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardPresenceSp', ' Présence d\'espèces sur l\'arbre',  0,  0,  0);
385
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardTailleType', ' Type de taille',  0,  0,  0);
386
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('arbreTetardTailleType', ' Type de taille',  0,  0,  0);
386
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('ChampsArbresTetards', ' Champs du projet arbres tétards',  0,  1,  0);
387
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('ChampsArbresTetards', ' Champs du projet arbres tétards',  0,  1,  0);
387
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('ChampsFlorileges', ' Champs du projet florilèges',  0,  1,  0);
388
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('ChampsFlorileges', ' Champs du projet florilèges',  0,  1,  0);
388
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('ChampsSauvages', ' Champs du projet Sauvages de ma rue',  0,  1,  0);
389
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('ChampsSauvages', ' Champs du projet Sauvages de ma rue',  0,  1,  0);
389
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coauteurCourriel', ' Courriel du co-auteur',  0,  0,  1);
390
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coauteurCourriel', ' Courriel du co-auteur',  0,  0,  1);
390
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coauteurIntitule', ' Intitulé du co-auteur',  0,  0,  0);
391
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coauteurIntitule', ' Intitulé du co-auteur',  0,  0,  0);
391
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('Collecteur', ' Collecteur',  0,  0,  0);
392
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('Collecteur', ' Collecteur',  0,  0,  0);
392
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('Collecteurobservation', ' Collecteur de l\'observation',  0,  0,  0);
393
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('Collecteurobservation', ' Collecteur de l\'observation',  0,  0,  0);
393
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coordonneelambert93x', ' coordonneeLambert93X',  0,  0,  0);
394
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coordonneelambert93x', ' coordonneeLambert93X',  0,  0,  0);
394
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coordonneelambert93y', ' coordonneeLambert93Y',  0,  0,  0);
395
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('coordonneelambert93y', ' coordonneeLambert93Y',  0,  0,  0);
395
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('dateArretTraitementPhyto', ' Date d\'arrêt des traitements',  0,  0,  0);
396
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('dateArretTraitementPhyto', ' Date d\'arrêt des traitements',  0,  0,  0);
396
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('dateDerniereIntervention', ' Dernière intervention',  0,  0,  0);
397
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('dateDerniereIntervention', ' Dernière intervention',  0,  0,  0);
397
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('Determinateur', ' Déterminateur',  0,  0,  0);
398
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('Determinateur', ' Déterminateur',  0,  0,  0);
398
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('hauteurBatimentAvoisinant', ' Hauteur des bâtiments',  0,  0,  0);
399
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('hauteurBatimentAvoisinant', ' Hauteur des bâtiments',  0,  0,  0);
399
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('hauteurPlante', ' Hauteur max. (en cm) de la plante',  0,  0,  0);
400
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('hauteurPlante', ' Hauteur max. (en cm) de la plante',  0,  0,  0);
400
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('intensiteGestion', ' Intensité de gestion',  0,  0,  0);
401
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('intensiteGestion', ' Intensité de gestion',  0,  0,  0);
401
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('itineraireGestion', ' Description de l\'itinéraire de gestion',  0,  0,  0);
402
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('itineraireGestion', ' Description de l\'itinéraire de gestion',  0,  0,  0);
402
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('latitudeDebutRue', ' Latitude du début de la rue',  0,  0,  0);
403
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('latitudeDebutRue', ' Latitude du début de la rue',  0,  0,  0);
403
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('latitudeFinRue', ' Latitude de fin de la rue',  0,  0,  0);
404
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('latitudeFinRue', ' Latitude de fin de la rue',  0,  0,  0);
404
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('longitudeDebutRue', ' Longitude du début de la rue',  0,  0,  0);
405
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('longitudeDebutRue', ' Longitude du début de la rue',  0,  0,  0);
405
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('longitudeFinRue', ' Longitude de fin de la rue',  0,  0,  0);
406
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('longitudeFinRue', ' Longitude de fin de la rue',  0,  0,  0);
406
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('perceptionRiverainMauvaise', ' Mauvaise perception par les riverains ?',  0,  0,  0);
407
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('perceptionRiverainMauvaise', ' Mauvaise perception par les riverains ?',  0,  0,  0);
407
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('perceptionTechnicien', ' Perceptions par l\'équipe',  0,  0,  0);
408
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('perceptionTechnicien', ' Perceptions par l\'équipe',  0,  0,  0);
408
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('periodiciteTraitementPhyto', ' Utilisation de produits phytosanitaires',  0,  0,  0);
409
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('periodiciteTraitementPhyto', ' Utilisation de produits phytosanitaires',  0,  0,  0);
409
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('personneFonction', ' Fonction de l\'observateur',  0,  0,  0);
410
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('personneFonction', ' Fonction de l\'observateur',  0,  0,  0);
410
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('personneService', ' Service de l\'observateur',  0,  0,  0);
411
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('personneService', ' Service de l\'observateur',  0,  0,  0);
411
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('personneStructure', ' Structure de l\'observateur',  0,  0,  0);
412
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('personneStructure', ' Structure de l\'observateur',  0,  0,  0);
412
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('resistanceTraitementPhyto', ' Résistance/Résilience',  0,  0,  0);
413
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('resistanceTraitementPhyto', ' Résistance/Résilience',  0,  0,  0);
413
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('revetementSol', ' Revêtement de sol',  0,  0,  0);
414
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('revetementSol', ' Revêtement de sol',  0,  0,  0);
414
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('typoUrbaine', ' Typologie',  0,  0,  0);
415
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('typoUrbaine', ' Typologie',  0,  0,  0);
415
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('vitesseCroissance', ' Croissance',  0,  0,  0);
416
INSERT INTO `cel_catalogue_champs_etendus` (`cle`, `label`, `invisible`, `groupe`, `prive`) VALUES ('vitesseCroissance', ' Croissance',  0,  0,  0);
416
 
417
 
417
COMMIT;
418
COMMIT;
418
 
419
 
419
 
420
 
420
-- -----------------------------------------------------
421
-- -----------------------------------------------------
421
-- Data for table `cel_catalogue_champs_etendus_liaison`
422
-- Data for table `cel_catalogue_champs_etendus_liaison`
422
-- -----------------------------------------------------
423
-- -----------------------------------------------------
423
START TRANSACTION;
424
START TRANSACTION;
424
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' adresse');
425
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' adresse');
425
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' Collecteur');
426
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' Collecteur');
426
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' Collecteurobservation');
427
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' Collecteurobservation');
427
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' dateArretTraitementPhyto');
428
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' dateArretTraitementPhyto');
428
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' dateDerniereIntervention');
429
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' dateDerniereIntervention');
429
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' Determinateur');
430
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' Determinateur');
430
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' hauteurBatimentAvoisinant');
431
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' hauteurBatimentAvoisinant');
431
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' hauteurPlante');
432
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' hauteurPlante');
432
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' intensiteGestion');
433
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' intensiteGestion');
433
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' itineraireGestion');
434
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' itineraireGestion');
434
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' latitudeDebutRue');
435
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' latitudeDebutRue');
435
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' latitudeFinRue');
436
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' latitudeFinRue');
436
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' longitudeDebutRue');
437
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' longitudeDebutRue');
437
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' longitudeFinRue');
438
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' longitudeFinRue');
438
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' perceptionRiverainMauvaise');
439
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' perceptionRiverainMauvaise');
439
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' perceptionTechnicien');
440
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' perceptionTechnicien');
440
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' periodiciteTraitementPhyto');
441
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' periodiciteTraitementPhyto');
441
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' personneFonction');
442
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' personneFonction');
442
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' personneService');
443
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' personneService');
443
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' personneStructure');
444
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' personneStructure');
444
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' resistanceTraitementPhyto');
445
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' resistanceTraitementPhyto');
445
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' revetementSol');
446
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' revetementSol');
446
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' typoUrbaine');
447
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' typoUrbaine');
447
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' vitesseCroissance');
448
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsFlorileges', ' vitesseCroissance');
448
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' adresse');
449
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' adresse');
449
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' latitudeDebutRue');
450
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' latitudeDebutRue');
450
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' latitudeFinRue');
451
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' latitudeFinRue');
451
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' longitudeDebutRue');
452
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' longitudeDebutRue');
452
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' longitudeFinRue');
453
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsSauvages', ' longitudeFinRue');
453
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardAligneNbre');
454
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardAligneNbre');
454
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardCirconferenceA1m');
455
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardCirconferenceA1m');
455
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardClasseCirconferenceA1m');
456
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardClasseCirconferenceA1m');
456
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardEntretientCoupe');
457
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardEntretientCoupe');
457
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardEtatSanitaire');
458
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardEtatSanitaire');
458
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardFormation');
459
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardFormation');
459
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardHauteurTete');
460
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardHauteurTete');
460
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardPresenceCavite');
461
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardPresenceCavite');
461
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardPresenceSp');
462
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardPresenceSp');
462
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardTailleType');
463
INSERT INTO `cel_catalogue_champs_etendus_liaison` (`groupe`, `champ`) VALUES ('ChampsArbresTetards', ' arbreTetardTailleType');
463
 
464
 
464
COMMIT;
465
COMMIT;
465
 
466