[R] Fwd: Create new polygon from a polygon

javad bayat j@b@y@t194 @end|ng |rom gm@||@com
Wed Apr 21 09:14:21 CEST 2021


---------- Forwarded message ---------
From: javad bayat <j.bayat194 using gmail.com>
Date: Fri, Apr 16, 2021 at 9:00 AM
Subject: Create new polygon from a polygon
To: <R-help-owner using r-project.org>


Dear all;
I have a polygon and I want to divide it into 2 new polygons. The first one
must be 54 percent of the initial polygon area and the remaining area (46
percent of the area) for the second polygon. Is there any way to do this?

"
library(rgdal)
S_P = readOGR(".","Polygon")
proj4string(S_P) <- CRS("+proj=utm +zone=39 +datum=WGS84")

"
Sincerely

-- 
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Alternative Mail: bayat194 using yahoo.com


-- 
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Alternative Mail: bayat194 using yahoo.com

	[[alternative HTML version deleted]]



More information about the R-help mailing list