Select to view content in your preferred language

Focal statistics: invalid weight neighborhood mask due to decimal separator

670
1
Jump to solution
01-07-2019 08:28 AM
sebastianotrevisani
Occasional Contributor

Focal statistics: invalid weight neighborhood mask due to decimal separator (I use point and it works with comma!).

I had this issue in the past moving from arcmap 10.2 or 10.3 to 10.4 and I resolved

checking international settings on my PC.

Now I have the same problem with arcmap 10.5.1. But now the international settings are ok (point as decimal separator) and both python as well as arcmap use point as decimal separator. However, when I use custom kernels in focal statistics things do not work if I code the kernel using as decimal separator the point; differently the kernels work if I use the comma as decimal separator. I would like to get a robust solution to this issue, it is strange that in most instances arcmap use the point as decimal separator and in some others (custom kernels) the comma.

Thank you in advance for any help,

Sebastiano

0 Kudos
1 Solution

Accepted Solutions
sebastianotrevisani
Occasional Contributor

PS,

Today I resolved, it is again a matter of international settings on windows machines. If, in international settings, I set the format as Italian, even setting (in advanced settings) the point as decimal separator, the weight kernel using the point as decimal separator does not work. Differently, if I set the format as English (US) (and again I set the point as decimal separator) it works properly. A little tricky. All the other software I use work properly with both solutions, even the python interpreter.

Sebastiano

View solution in original post

1 Reply
sebastianotrevisani
Occasional Contributor

PS,

Today I resolved, it is again a matter of international settings on windows machines. If, in international settings, I set the format as Italian, even setting (in advanced settings) the point as decimal separator, the weight kernel using the point as decimal separator does not work. Differently, if I set the format as English (US) (and again I set the point as decimal separator) it works properly. A little tricky. All the other software I use work properly with both solutions, even the python interpreter.

Sebastiano