Revert "clean up and change findRasters to spatialCursor"

This reverts commit 31d323bca0143f5e5eef56a0b5e0e00405e80d56.
Revert "Revert "clean up and change findRasters to spatialCursor""

This reverts commit 5c00043c4b6238c39f43347a0d6d9885f7081a5a.
add commenct