Examples for 'terra::width'


SpatVector geometric properties

Aliases: width clearance width,SpatVector-method clearance,SpatVector-method

Keywords: methods spatial

### ** Examples

f <- system.file("ex/lux.shp", package="terra")
v <- vect(f)
width(v)
 [1] 25511.501 20333.498 19019.103  9255.223 20141.189 14308.518 15475.916
 [8] 18111.001 17435.502 15750.096 18936.122 15692.522
clearance(v)
 [1] 24.349993 50.070894 31.878312 51.390103 13.517168 15.960117  2.871879
 [8] 17.584083  9.023613  4.239727  8.231322 60.918397

[Package terra version 1.5-34 Index]