Henry Walshaw
1312cfe599
Add square brackets around the saved expression
...
When saving a raster expression the generated expression didn't contain square brackets around the letters used for band identifiers. Sticking with the NDVI example:
```
("NIR@1" - "Red@1") / ("NIR@1" + "Red@1")
```
becomes
```
(a - b) / (a + b)
```
Due to the way the expression is parsed these would not be interactie parameters for the user to set as the parameters requre square brackets around the layer tags. This change simply updates the string replacement to include the square brackets so you would get instead:
```
([a] - [b]) / ([a] + [b])
```
2020-09-14 15:58:38 +10:00
..
2020-09-14 15:58:38 +10:00
2020-05-18 13:55:44 +08:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-07-28 14:18:20 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-08-20 06:59:48 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-05-11 11:41:50 +10:00
2020-05-29 11:26:22 +03:00
2020-05-05 23:22:12 +02:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-07-30 08:26:40 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-08-15 18:59:50 +02:00
2020-05-11 11:41:50 +10:00
2020-07-30 08:26:40 +10:00
2020-09-11 10:55:12 +03:00
2020-05-11 11:41:50 +10:00
2020-07-30 08:26:40 +10:00
2020-05-11 11:41:50 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-05-07 03:31:22 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-07-21 12:51:48 +02:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-07-30 08:26:40 +10:00
2020-07-31 03:07:07 +10:00
2020-05-11 11:41:50 +10:00
2020-07-30 08:26:40 +10:00
2020-05-29 11:26:22 +03:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00
2020-05-11 11:41:50 +10:00