Layer:fill with strategy mode and string values
Layer:fill using strategy mode only works with number values. It does not work when the selected attribute has string values. Implement a test to verify that it does not work and then ask TerraLib team to fix the problem.
It is not working with numbers/strings with polygon data. Se the attached file with a script and some data. The output of the attached script is:
0 8100
--------------------
0 8100
it should contain counts of values different from zero.
This issue will help to solve #802.
Waiting resolution from TerraLib team.
According to TerraLib (Marisa), the operation is not defined when there is no repeated values in from data.
Because of that, I increased the resolution to 4km and that worked.
Related to string values, it is not defined to Mode operation, but, that works with Class with highest occurrence one.