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
I am trying to make a grid with specific resolution for the entire world and crop it with a polygon but what I got is the hexagons not sharing their borders (like the South Africa example), they appear separated from each other. How can I make a grid of hexagons of ~ 1km2 área that cover the entire polygon?
If I understand correctly, you're concerned that the grid cells for South Africa are not contiguous. That's because they cover the mainland and the offshore island, but not the area in between. It's also the expected behaviour.
If you want coverage for the area in between, maybe construct a bounding box or a convex hull and get the hexes for that?
I am trying to make a grid with specific resolution for the entire world and crop it with a polygon but what I got is the hexagons not sharing their borders (like the South Africa example), they appear separated from each other. How can I make a grid of hexagons of ~ 1km2 área that cover the entire polygon?
dggs <- dgconstruct(res = 16)
cr_grid <- dgshptogrid(dggs, "areas_estrategicas/cr.shp")
The text was updated successfully, but these errors were encountered: