-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nichoir #46
base: master
Are you sure you want to change the base?
Nichoir #46
Changes from all commits
887b399
9116a9c
59fd9f6
5e00a38
9723114
d970035
0127ea5
128093c
67077e6
4bb9680
d66d04c
adb95f4
6d217de
7022398
0e594e4
9778fd6
173b796
0665d88
6c0e857
7e97c0d
18222ee
1a3c0f7
db4a17a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"tree": { | ||
"module": { | ||
"site": { | ||
"visit": { | ||
"observation": null | ||
} | ||
} | ||
} | ||
}, | ||
"data": { | ||
"nomenclature": ["JDD_DATA_TYPE"], | ||
"user": ["__CODE_LIST_INVENTOR", "__CODE_LIST_OBSERVER"] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Documentation du Module | ||
|
||
Ce module est conçu pour gérer le suivi des nichoirs. | ||
|
||
## Sites | ||
|
||
### Nichoir | ||
|
||
- `Nom du nichoir` | ||
- `Code du site` | ||
- `Date de pose` | ||
- `Lieu de pose` : Liste configurée (arbre, acrotère de bâtiment, aménagement de combles, ...) | ||
- `Type de nichoir` : Liste configurée (Chevêche d'Athéna, Chouette de Tengmalm, Chouette hulotte, ...) | ||
- `Adresse` | ||
- `Nom du propriétaire` | ||
- `E-mail (propriétaire)` | ||
- `Numéro de tel (propriétaire)` | ||
- `Référent du nichoir` | ||
- `E-mail (référent)` | ||
- `Numéro de tel (référent)` | ||
- `Précision sur la localisation` | ||
- `Indices de présence de prédateur` | ||
- `Remarque` | ||
|
||
## Visites | ||
|
||
- `Date du passage` | ||
- `Observateurs` | ||
- `Etat du nichoir` : Liste configurée (bon état, à réparer, à replacer, non trouvé, autre) | ||
- `Occupation` : Liste configurée (Oui, Non) | ||
- `Commentaire` | ||
|
||
## Observations | ||
|
||
- `Espèce` | ||
- `Nombre d'adultes` | ||
- `Nombre d'oeufs` | ||
- `Nombre de jeunes vivants` | ||
- `Nombre de jeunes morts` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"module_label":"Nichoirs", | ||
"module_desc":"Module de suivi de nichoirs", | ||
"genre":"M" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"types": [ | ||
{ | ||
"mnemonique": "TYPE_SITE", | ||
"label_default": "Type de sites", | ||
"definition_default": "Nomenclature des types de sites suivi dans gn_monitoring." | ||
} | ||
], | ||
"nomenclatures": [ | ||
{ | ||
"type": "TYPE_SITE", | ||
"cd_nomenclature": "NICHOIR", | ||
"mnemonique": "nichoir", | ||
"label_default": "Nichoir", | ||
"definition_default": "Nichoir" | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"id_field_name": "id_observation", | ||
"description_field_name": "id_observation", | ||
"chained": true, | ||
"label": "Observation", | ||
"genre": "F", | ||
"display_properties": [ | ||
"cd_nom", | ||
"adulte", | ||
"oeuf", | ||
"jeune_vivant", | ||
"jeune_mort" | ||
], | ||
"uuid_field_name": "uuid_observation", | ||
"specific": { | ||
"uuid_observation": { | ||
"attribut_label": "uuid" | ||
}, | ||
"id_observation": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Je ne comprends pas non plus pourquoi vous redéfinissez les champs d'ID ? |
||
"type_widget": "text", | ||
"attribut_label": "Id observation", | ||
"hidden": true | ||
}, | ||
"id_base_visit": { | ||
"type_widget": "text", | ||
"attribut_label": "Id visite", | ||
"hidden": true | ||
}, | ||
"cd_nom": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Je ne comprends pas pourquoi le champs "cd_nom" est redéfini alors qu'il est géré nativement dans le module ? |
||
"type_widget": "taxonomy", | ||
"attribut_label": "Espèce", | ||
"type_util": "taxonomy", | ||
"required": true, | ||
"id_list": "__MODULE.ID_LIST_TAXONOMY" | ||
}, | ||
"adulte": { | ||
"type_widget": "number", | ||
"attribut_label": "Nombre d'adultes", | ||
"hidden": false, | ||
"required": false, | ||
"min": 0, | ||
"max": 50 | ||
}, | ||
"oeuf": { | ||
"type_widget": "number", | ||
"attribut_label": "Nombre d'oeufs", | ||
"hidden": false, | ||
"required": false, | ||
"value" : 0, | ||
"min": 0, | ||
"max": 20 | ||
}, | ||
"jeune_vivant": { | ||
"type_widget": "number", | ||
"attribut_label": "Nombre de jeunes vivants", | ||
"hidden": false, | ||
"required": false, | ||
"value" : 0, | ||
"min": 0, | ||
"max": 20 | ||
}, | ||
"jeune_mort": { | ||
"type_widget": "number", | ||
"attribut_label": "Nombre de jeunes morts", | ||
"hidden": false, | ||
"required": false, | ||
"min": 0, | ||
"max": 20 | ||
}, | ||
"comments": { | ||
"type_widget": "text", | ||
"attribut_label": "remarque supplémentaire (date d'envole poussin)", | ||
"hidden": false, | ||
"required": false | ||
}, | ||
"medias": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Je ne comprends pas pourquoi les médias sont redéfinis alors qu'ils sont gérés nativement dans le module ? |
||
"type_widget": "medias", | ||
"attribut_label": "Médias", | ||
"schema_dot_table": "gn_monitoring.t_observations" | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
{ | ||
"genre": "M", | ||
"label": "nichoir", | ||
"label_list": "nichoirs", | ||
"map_label_field_name": "base_site_name", | ||
"geometry_type": "Point", | ||
"display_properties": [ | ||
"id_inventor", | ||
"referent_mail", | ||
"referent_tel", | ||
"base_site_name", | ||
"base_site_code", | ||
"first_use_date", | ||
"pose_localisation", | ||
"localite_precision", | ||
"nichoir_type", | ||
"adresse", | ||
"proprietaire_nom", | ||
"proprietaire_mail", | ||
"proprietaire_tel", | ||
"nichoir_referent", | ||
"base_site_description" | ||
], | ||
"display_list": [ | ||
"base_site_name", | ||
"id_inventor", | ||
"nichoir_type", | ||
"last_visit", | ||
"nb_visits" | ||
], | ||
"specific": { | ||
"id_nomenclature_type_site": { | ||
"type_widget": "nomenclature", | ||
"attribut_label": "Type site", | ||
"code_nomenclature_type": "TYPE_SITE", | ||
"type_util": "nomenclature", | ||
"required": true, | ||
"value": { | ||
"code_nomenclature_type": "TYPE_SITE", | ||
"cd_nomenclature": "NICHOIR" | ||
}, | ||
"hidden": true | ||
}, | ||
"base_site_code": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pourquoi redéfinir ce champs, géré nativement par le module ? |
||
"attribut_label": "Code du site", | ||
"required": false, | ||
"hidden": true | ||
}, | ||
"base_site_name": { | ||
"attribut_label": "Nom du nichoir", | ||
"required": true, | ||
"hidden": false | ||
}, | ||
"first_use_date": { | ||
"type_widget": "date", | ||
"attribut_label": "Date de pose", | ||
"required": true | ||
}, | ||
"pose_localisation": { | ||
"type_widget": "select", | ||
"attribut_label": "Lieu de pose", | ||
"required": true, | ||
"values": [ | ||
"arbre", | ||
"acrotère de bâtiment", | ||
"aménagement de combles", | ||
"Bâti", | ||
"Bâti extérieur", | ||
"Bâti intérieur", | ||
"bergerie", | ||
"caissons a rhinolophes", | ||
"église", | ||
"façade de bâtiment", | ||
"grange/hangar", | ||
"grenier/combles", | ||
"garage", | ||
"poteau", | ||
"pigeonnier/tour", | ||
"piquet", | ||
"piquet de vigne", | ||
"toit", | ||
"toit terrasse", | ||
"Autres" | ||
] | ||
}, | ||
"nichoir_type": { | ||
"type_widget": "select", | ||
"attribut_label": "Type de nichoir", | ||
"required": true, | ||
"values": [ | ||
"Chevêche d'Athéna", | ||
"Chouette de Tengmalm", | ||
"Chouette hulotte", | ||
"Effraie des clochers", | ||
"Étourneau", | ||
"Faucon pèlerin", | ||
"Faucon crécerelle", | ||
"Hirondelle de fenêtre", | ||
"Hirondelle rustique", | ||
"Huppe fasciée", | ||
"Gîte chiro (arboricole en bois)", | ||
"Gîte chiro (fissuricole en bois)", | ||
"Gîte chiro (fissuricole en béton bois)", | ||
"Mésange bleue", | ||
"Mésange charbonnière", | ||
"Moineau friquet", | ||
"Moineau domestique", | ||
"Petit-duc/colombin", | ||
"Rougegorge", | ||
"Rougequeue", | ||
"Rougequeue à front blanc", | ||
"Sitelle torchepot", | ||
"Autre (préciser dans le champs remarque)" | ||
] | ||
}, | ||
"adresse": { | ||
"type_widget": "text", | ||
"attribut_label": "Adresse", | ||
"required": false | ||
}, | ||
"proprietaire_nom": { | ||
"type_widget": "text", | ||
"attribut_label": "Nom du propriétaire", | ||
"required": true | ||
}, | ||
"proprietaire_mail": { | ||
"type_widget": "text", | ||
"attribut_label": "E-mail (propriétaire)" | ||
}, | ||
"proprietaire_tel": { | ||
"type_widget": "text", | ||
"attribut_label": "Numéro de tel (propriétaire)", | ||
"required": true | ||
}, | ||
"id_inventor": { | ||
"attribut_label": "Référent du nichoir" | ||
}, | ||
"referent_mail": { | ||
"type_widget": "text", | ||
"attribut_label": "E-mail (référent)" | ||
}, | ||
"referent_tel": { | ||
"type_widget": "text", | ||
"attribut_label": "Numéro de tel (référent)" | ||
}, | ||
"localite_precision": { | ||
"type_widget": "text", | ||
"attribut_label": "Précision sur la localisation" | ||
}, | ||
"predateur": { | ||
"type_widget": "bool_checkbox", | ||
"attribut_label": "indices de présence de prédateur" | ||
}, | ||
"base_site_description": { | ||
"type_widget": "textarea", | ||
"attribut_label": "Remarque" | ||
}, | ||
"medias": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pourquoi redéfinir ce champs géré nativement par le module ? |
||
"type_widget": "medias", | ||
"attribut_label": "Médias", | ||
"schema_dot_table": "gn_monitoring.t_base_sites" | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je ne comprends pas pourquoi vous redéfinissez le champs UUID qui est déjà présent dans la BDD et peuple automatiquement ?