Skip to content
Prev 28924 / 29559 Next

Polygon Data into Grid Structure

On Mon, 2 May 2022, lucfrank at mail.uni-mannheim.de wrote:

            
This is not clear, neither aqueduct nor WRI mean anything to me and 
possibly most others.
So a standard intersection between a raster grid and polygons - but you 
are modifying the support of the data quite brutally. If you need to 
integrate data with varying support, do not treat the estimated values for 
the new entities as fixed, they are estimates with error distributions.

Why not simply count the points within each polygon?
Not a robust idea; build up your analysis from the support of your own 
data based on robust sources.
This looks rather odd, seeming to use geographical coordinates, so the 
areas in the grid cells vary with latitude (as would the counts).
crop is from terra (in older workflows raster), not sp. Perhaps using 
terra for the whole exercise is advisable? Your workflow template doesn't 
seem to be current, or even adequate, I'm afraid.

Roger