geonature.core.gn_monitoring.routes

Module Contents

Functions

get_list_sites()

Return the sites list for an application in a dict {id_base_site, nom site}

get_onelist_site(id_site)

Get minimal information for a site {id_base_site, nom site}

get_site_areas(id_site)

Get areas of a site from cor_site_area as geojson

Attributes

routes

geonature.core.gn_monitoring.routes.routes[source]
geonature.core.gn_monitoring.routes.get_list_sites()[source]

Return the sites list for an application in a dict {id_base_site, nom site} .. :quickref: Monitoring;

Paramètres:
  • id_base_site – id of base site

  • module_code – code of the module

  • id_module – id of the module

  • base_site_name – part of the name of the site

  • type – int

geonature.core.gn_monitoring.routes.get_onelist_site(id_site)[source]

Get minimal information for a site {id_base_site, nom site} .. :quickref: Monitoring;

Paramètres:
  • id_site – id of base site

  • type – int

geonature.core.gn_monitoring.routes.get_site_areas(id_site)[source]

Get areas of a site from cor_site_area as geojson

Paramètres:
  • id_module (int) – int

  • id_area_type (int) –