Skip to content

Commit

Permalink
update README and plugin description
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardbruelhart committed Jun 4, 2024
1 parent 1fe359f commit d2cf02b
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 19 deletions.
58 changes: 46 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DBGI QGIS plugin

QGIS plugin that creates a suited geopackage for the DBGI project.
QGIS plugin that creates a suited geopackage for the EMI project (including DBGI).

## Prerequisites

Expand All @@ -9,28 +9,62 @@ This plugin is expected to be used inside a QGIS project made for QField (.qgs p
## Arguments to provide:

1. The name of the geopackage
2. The name of a file (CSV or geopackage), already present on the QGIS project, that contain a column that contains binomial nomenclature
2. The name of a table (geopackage), already present on the QGIS project, that contains binomial nomenclature
3. The name of the column that contains binomial nomenclature
4. The name of a table (geopackage), already present on the QGIS project, that contains collectors informations
5. The name of the column that contains name of the collector
6. The name of a table (geopackage), already present on the QGIS project, that contains organs that will be collected
7. The name of the column that contains name of the organ

## Explanation of the arguments:

The name of the geopackage has to be unique among the project and has to be linked with the name of the person that collects these samples. For example: firstname_lastname.
The name of the geopackage has to be unique among the project.

The binomial list is here to help the person who collect the samples. It could be a predeined list (for example a list of plants in a botanical garden, or the list of species present in a specific habitat where the samples are collected).
The binomial list is here to help the person who collect the samples. It could be a predeined list (for example a list of plants in a botanical garden, or the list of species present in a specific habitat where the samples are collected). The specific column containing the binomial nomenclature has to be specified. This is in case the list is composed of multiple columns. This permits to make the link between this list and the field "sample_name" of the geopackage file.

The specific column containing the binomial nomenclature has to be specified. This is in case the list is composed of multipl columns. This permits to make the link between this list and the field "sample_name" of the geopackage file.
The collector list is here to know who has collected which specimen. This list has to contain minimum 2 columns, named "fullname" and "ORCID".

The organ list is here to know which part of the specimen is collected. This list has to contain minimum 1 column with the different organs.

## Action:

Creates the necessary fields for the collection:

- sample_name = binomial nomenclature of the collected species
- sample_id = unique code applied to this sample, for example dbgi_123456 for the DBGI project
- picture_panel = a picture of the specimen's panel if available (cultivated plants for example)
- picture_general = a general picture of the specimen
- picture_detail = a remarkable detail that permits the identification of the species
- picture_cut = a picture showing the collected part of the specimen
- picture_panel_label = a picture of the sample_id with the panel if available, with the specimen if panel not available
- collector_fullname: Full Name of the collector

- observation_subject: Part of the specimen that is collected

- inat_upload: boolean that specifies if the actual specimen has to be uploaded on iNaturalist or not

- taxon_name: binomial nomenclature of the collected specimen

- no_name_on_list: boolean that specifies if the actual specimen is on the existing list. If true (specimen is not on the list), "name_proposition" field will appear

- name_proposition: A free field to enter a specific binomial name if it is not on the defined list

- sample_id: unique code applied to this sample, for example dbgi_123456 for the DBGI project or fibl_123456 for the FIBL project

- picture_panel, picture_general, picture_detail, picture_cut, picture_panel_label, picture_free": attachment fields to add pictures of the observed specimen

- x_coord, y_coord: x and y coordinates of the specimen

- ipen: unique identifier of the specimen, if coming from a botanical garden

- herbivory_(percent): Permits to add herbivory on the specimen (if plant)

- comment_eco: Free text to add informations about the ecology of the specimen

- soil_type: Permits to add the soil type where the specimen has been observed (useful for plants, mushrooms, insects, ...)

- weather: meteorological conditions during the observation

- temperature_(°C): Temperature during the observation

- comment_env: Free text to add informations about the environment of the specimen

- date: Stores automatically the precise date of the observation (precision: second)

- collector_orcid": ORCID identifier of the collector

Changes field properties (relation, NotNull, Unique, widget type)

Expand Down
13 changes: 6 additions & 7 deletions gpkg_creator/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ version=0.3
author=Edouard Brülhart
[email protected]

about=This plugin creates geopackages that match the requirements for the EMI project. Takes three arguments:
1. The name of your geopackage
2. The name of a CSV or geopackage file rhat contains the binomial nomenclature of the species you will collect (must be loaded on the project)
3. The column name containing the binomial nomenclature in the CSV or geopackage file
It can also update deprecated geopackes from older plugin versions
about=This plugin creates geopackages that match the requirements for the EMI project:
1. Creates collection layers
2. Updates deprecated collection layers
3. Creates observation layers

tracker=https://github.com/digital-botanical-gardens-initiative/gpkg_creator/issues
repository=https://github.com/digital-botanical-gardens-initiative/gpkg_creator
Expand All @@ -26,10 +25,10 @@ hasProcessingProvider=no
# Uncomment the following line and add your changelog:
changelog=0.1 - First release
0.2 - Adds some fields and reorganizes new features form. Add a function to update deprecated geopackages
0.3 - Makes the plugin compatible with other projects than DBGI
0.3 - Makes the plugin compatible with other projects than DBGI. Add a function to create observation geopackages

# Tags are comma separated with spaces allowed
tags=geopackage, gpkg, emi
tags=geopackage, gpkg, emi, dbgi

homepage=https://www.dbgi.org/dendron-dbgi/notes/1u37mlza55e6dgksabcv7qn/
category=Vector
Expand Down

0 comments on commit d2cf02b

Please sign in to comment.