jacobdale211 / raster_import

0 stars 0 forks source link

Trying out the buffer #2

Open jacobdale211 opened 2 years ago

jacobdale211 commented 2 years ago

Hey David,

I just pushed my latest version of my test script to the repo. I tried creating a buffer of 10km around the bird range, and when I plotted it, there was a visible change. However, the avg grid still looks the same. Do you think you could take a look when you get the chance?

david-beauchesne commented 2 years ago

I do not have the data on my side so I cannot test your code to visualize the results. From what I can see quickly in the code, however, you seem to be calling your grid on the unbuffered polygon rather than the buffered one. This means that the grid will not correspond to the buffered polygon. Unless I am reading the code wrong, you would have to create your grid from the buffered polygon.