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'];
|