terrame icon indicating copy to clipboard operation
terrame copied to clipboard

Layer:fill with strategy mode and string values

Open pedro-andrade-inpe opened this issue 8 years ago • 4 comments

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.

pedro-andrade-inpe avatar Sep 29 '17 14:09 pedro-andrade-inpe

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.

data.zip

pedro-andrade-inpe avatar Oct 25 '17 19:10 pedro-andrade-inpe

This issue will help to solve #802.

pedro-andrade-inpe avatar Oct 25 '17 19:10 pedro-andrade-inpe

Waiting resolution from TerraLib team.

avancinirodrigo avatar Mar 26 '18 18:03 avancinirodrigo

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.

avancinirodrigo avatar Mar 27 '18 16:03 avancinirodrigo