Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create bbox R sp

# just 9 points on a grid:
x <- c(1,1,1,2,2,2,3,3,3)
y <- c(1,2,3,1,2,3,1,2,3)
xy <- cbind(x,y)
S <- SpatialPoints(xy)
bbox(S)
Source by rdrr.io #
 
PREVIOUS NEXT
Tagged: #create #bbox #R #sp
ADD COMMENT
Topic
Name
5+9 =