Subversion Repositories eFlore/Applications.cel

Rev

Rev 1236 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1236 Rev 1252
Line 74... Line 74...
74
								$obsAAjouter['date_observation'] = $this->transormerDateFrVersMysql($obs['date']);
74
								$obsAAjouter['date_observation'] = $this->transormerDateFrVersMysql($obs['date']);
75
								$obsAAjouter['commentaire'] = $obs['notes'];
75
								$obsAAjouter['commentaire'] = $obs['notes'];
Line 76... Line 76...
76
 
76
 
77
								$obsAAjouter['location'] = $obs['commune_nom'];
77
								$obsAAjouter['location'] = $obs['commune_nom'];
78
								$obsAAjouter['id_location'] = substr($obs['commune_code_insee'], 0, 2);
78
								$obsAAjouter['id_location'] = substr($obs['commune_code_insee'], 0, 2);
79
								$obsAAjouter['lieudit'] = isset($obs['lieu_dit']) ? $obs['lieu_dit'] : null;
79
								$obsAAjouter['lieudit'] = isset($obs['lieudit']) ? $obs['lieudit'] : null;
80
								$obsAAjouter['station'] = isset($obs['station']) ? $obs['station'] : null;
80
								$obsAAjouter['station'] = isset($obs['station']) ? $obs['station'] : null;
81
								$obsAAjouter['milieu'] = $obs['milieu'];
81
								$obsAAjouter['milieu'] = $obs['milieu'];
82
								$obsAAjouter['coord_x'] = $obs['latitude'];
82
								$obsAAjouter['coord_x'] = $obs['latitude'];
83
								$obsAAjouter['coord_y'] = $obs['longitude'];
83
								$obsAAjouter['coord_y'] = $obs['longitude'];