search for: st_zm

Displaying 1 result from an estimated 1 matches for "st_zm".

Did you mean: st_za
2023 Nov 20
1
Calculating volume under polygons
...of a shapefile according to a DEM. when I run the code, it gives me an error as follows. " Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'addAttrToGeom': sp supports Z dimension only for POINT and MULTIPOINT. use `st_zm(...)` to coerce to XY dimensions " I want to have a table that contains one column corresponding to the polygon rank and another that contains the volume on that polyon. I would be more than happy if anyone could help me. I provided codes at the end of this email. Sincerely #################...