18,7 → 18,7 |
$this->limitesCarte[$bord] = str_replace(",", ".", round($valeur, 6)); |
} |
$this->bdd = new Bdd(); |
$this->taxon = $taxon; |
$this->taxon = $taxon ?? []; |
$this->nomRang = $this->obtenirNomRang(); |
if ($this->nomRang == 'espece' || $this->nomRang == 'sous_espece') { |
$this->taxons = $this->recupererSynonymesEtSousEspeces(); |
57,7 → 57,7 |
$requete = |
"SELECT DISTINCTROW zone_geo AS commune, Date(date_observation) AS date, Floor(wgs84_latitude*10)/10 AS lat, ". |
"Floor(wgs84_longitude*10)/10 AS lng, courriel_utilisateur AS auteur ". |
"FROM cel_obs LEFT JOIN cel_zones_geo cz ON ce_zone_geo=id_zone_geo ". |
"FROM cel_export_total LEFT JOIN cel_zones_geo cz ON ce_zone_geo=id_zone_geo ". |
"WHERE ".$this->construireWhereTaxonFloradata()." AND transmission=1 AND nom_referentiel = '".Config::get('referentielsDispo')."' AND ". |
"wgs84_longitude BETWEEN ".$this->limitesCarte['ouest']." AND ".$this->limitesCarte['est']." ". |
"AND wgs84_latitude BETWEEN ".$this->limitesCarte['sud']." AND ".$this->limitesCarte['nord']." ". |