Closed GoogleCodeExporter closed 8 years ago
I am updating arcgis_txt.py so that it ignores self-neighbors.
However, I have two questions.
1) To my knowledge, Kernel weights include self-neighbors. What happens to
Kernel weights when any transform operation is applied?
2) What if users have some weights for self-neighbors in the source text file?
Is it correct to ignore them?
I think maybe we need to decide our policy for self-neighbors.
Original comment by mhwa...@gmail.com
on 23 Nov 2011 at 6:06
Self neighbors are ok if they are intentional. In the case of arcgis_txt, it
appears the weights on the diagonal are zero. This indicates they should not be
added to the neighbors dictionary. In the case of Kernel weights, the diagonal
is non-zero.
Original comment by schmi...@gmail.com
on 23 Nov 2011 at 6:26
Ok. Got your point. The code is fixed.
Original comment by mhwa...@gmail.com
on 23 Nov 2011 at 7:19
Original comment by mhwa...@gmail.com
on 23 Nov 2011 at 8:54
Original issue reported on code.google.com by
schmi...@gmail.com
on 7 Nov 2011 at 7:28