spatialize.Rd
Given a matrix of coords with cols (x,y), and a character string representing a coordinate
projection, returns a SpatialPolygon defined by coords of mat
in projection crs_ref
.
spatialize(mat, crs_ref)
mat | is a matrix of coords with cols (x,y) |
---|---|
crs_ref | is a character string representing a coordinate projection for proj4string |
a SpatialPolygon defined by coords of mat in projection crs_ref