fonctionnalites:geonature:tests-synthese-regroupement-mailles

Ceci est une ancienne révision du document !


Tests de regroupement d'observations par mailles

Exemple de requête:

SELECT la.area_code, COUNT(s.id_synthese) AS nbr
FROM gn_synthese.synthese AS s
	JOIN gn_synthese.cor_area_synthese AS cas ON (s.id_synthese = cas.id_synthese)
	JOIN ref_geo.l_areas AS la ON (cas.id_area = la.id_area)
WHERE la.id_type = ref_geo.get_id_area_type_by_code('M10')
GROUP BY la.id_area 
LIMIT 100000 ;
  • fonctionnalites/geonature/tests-synthese-regroupement-mailles.1630943230.txt.gz
  • Dernière modification : 2021/09/06 15:47
  • de jpmilcent