geonature.core.gn_synthese.blueprints.taxon_info¶
Attributes¶
Functions¶
|
|
Get taxa distribution for a given dataset or acquisition framework |
|
Get color of taxon in areas (vue synthese.v_color_taxon_area). |
|
Autocomplete taxon for web search (based on all taxon in Synthese). |
|
Get taxon tree. |
|
|
|
|
|
|
Module Contents¶
- geonature.core.gn_synthese.blueprints.taxon_info.get_taxa_distribution()[source]¶
Get taxa distribution for a given dataset or acquisition framework and grouped by a certain taxa rank
- geonature.core.gn_synthese.blueprints.taxon_info.get_color_taxon()[source]¶
Get color of taxon in areas (vue synthese.v_color_taxon_area).
- Query str code_area_type:
Type area code (ref_geo.bib_areas_types.type_code)
- Query int id_area:
Id of area (ref_geo.l_areas.id_area)
- Query int cd_nom:
taxon code (taxonomie.taxref.cd_nom)
Those three parameters can be multiples :returns: Array<dict<VColorAreaTaxon>>
- geonature.core.gn_synthese.blueprints.taxon_info.get_autocomplete_taxons_synthese()[source]¶
Autocomplete taxon for web search (based on all taxon in Synthese).
The request use trigram algorithm to get relevent results
- Query str search_name:
the search name (use sql ilike statement and puts « % » for spaces)
- Query str regne:
filter with kingdom
:query str group2_inpn : filter with INPN group 2