geonature.core.gn_synthese.utils.blurring#

Functions#

split_blurring_precise_permissions(permissions)

Return permissions respectively with and without sensitivity filter.

build_sensitive_unsensitive_filters()

Return where clauses for sensitive and non-sensitive observations.

build_blurred_precise_geom_queries(filters[, ...])

build_allowed_geom_cte(blurring_permissions, ...)

build_synthese_obs_query(observations, ...)

Module Contents#

geonature.core.gn_synthese.utils.blurring.split_blurring_precise_permissions(permissions)[source]#

Return permissions respectively with and without sensitivity filter.

geonature.core.gn_synthese.utils.blurring.build_sensitive_unsensitive_filters()[source]#

Return where clauses for sensitive and non-sensitive observations.

geonature.core.gn_synthese.utils.blurring.build_blurred_precise_geom_queries(filters, where_clauses: list = [], select_size_hierarchy=False)[source]#
geonature.core.gn_synthese.utils.blurring.build_allowed_geom_cte(blurring_permissions, precise_permissions, blurred_geom_query, precise_geom_query, limit)[source]#
geonature.core.gn_synthese.utils.blurring.build_synthese_obs_query(observations, allowed_geom_cte, limit)[source]#