List of neighborhood cell values

This is the place for queries that don't fit in any of the other categories.

List of neighborhood cell values

Postby vpsijker » Fri Sep 13, 2013 9:08 am


I'm quite new to python scripting and work mostly in arcmap. However for my problem ArcMap does nog have a solution. I want to import a raster dataset and than extract from every cell of the raster the value of the 8 neighbour cells als a list / table. I think this is possible by creating a moving window and a list of list. However, because I'm still a dummy python user I wonder if anyone has an elegant usable solution / script for this problem.

Thanks a lot already

Last edited by Mekire on Fri Sep 13, 2013 11:27 am, edited 1 time in total.
Reason: First post lock.
Posts: 1
Joined: Fri Sep 13, 2013 9:03 am

Re: List of neighborhood cell values

Postby micseydel » Fri Sep 13, 2013 9:32 pm

If you post your code along with your input and desired output (and a description of how one gets to the other), we can attempt to give you feedback and help you to accomplish your goal. But this is a small forum, and it's unlikely that we'll already have used whatever tool you so you'll need to give us more information than you have in this post.
Due to the reasons discussed here we will be moving to on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
Posts: 3000
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Coding Help

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 11 guests