Commit 47442930 authored by PIERSON Julie's avatar PIERSON Julie
Browse files

updating readme and translating parameters names in english

parent b265e98b
......@@ -4,16 +4,27 @@
These 2 scripts can be used to rename bands from a raster file :
- **Rename Bands** allows user to choose a raster input and rename and/or reorder its bands
- **Merge and Rename Bands** allows user to choose multiple single band rasters and merge them as a multiband raster, and to select band names and order in the process
- **Rename and reorder bands** allows user to choose a raster input and rename and/or reorder its bands
- **Merge and rename bands** allows user to choose multiple single band rasters and merge them as a multiband raster, and to select band names and order in the process
This plugin is added in processing, in a provider called "rename bands".
## How it works
### Rename and reorder bands
This script takes 2 input paramaters :
- a raster layer
- a table with 2 columns. Add as many rows to this table as bands in the input raster, then choose for each band its future name (first column), for example "Red" and its order (second column), for example 1.
A raster output is created. It will be the same as the input raster but with different band names and order, according to user input.
## Dependencies
This plugin uses the following Python modules :
This plugin uses the following Python modules :
-
- osgeo
## More details
......
......@@ -72,10 +72,10 @@ class RenameBandsAlgorithm(QgsProcessingAlgorithm):
self.addParameter(
QgsProcessingParameterMatrix(
self.TABLE,
self.tr('Nom et ordre des bandes'),
self.tr('Band names and order'),
numberRows=0,
hasFixedNumberRows = False,
headers=['futur nom', 'ordre'],
headers=['future name', 'order'],
defaultValue=[None,None]
)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment