You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rasterstats puts extracted values in rows without relevant attributes. Implemented a fix - but might be relevant to geowrangler as well. Attaching some photos for reference.
The text was updated successfully, but these errors were encountered:
Hi @tm-dafrose-bajaro ! I think it may be an issue with the all_touched parameter in the raster_zonal_stats function that's set to False by default. Is the tile quadkey smaller than the resolution of the population data?
If yes then the NaNs are appearing because all_touched being False means that the AOIs have to touch the centroid of the raster cells to be counted. If it's set to True, then all AOIs are counted even if they didn't touch the centroid
rasterstats
puts extracted values in rows without relevant attributes. Implemented a fix - but might be relevant to geowrangler as well. Attaching some photos for reference.The text was updated successfully, but these errors were encountered: