Get bounding box dimensions
st_xdist(x) st_ydist(x) # S3 method for sf st_xdist(x) # S3 method for sfc st_xdist(x) # S3 method for bbox st_xdist(x) # S3 method for sf st_ydist(x) # S3 method for sfc st_ydist(x) # S3 method for bbox st_ydist(x)
x | (bbox/sfc/sf) Either a bounding box or a geometry. |
---|