[R] Convert poly line to polygon in R

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Mon Nov 13 09:47:18 CET 2017


Might want to post this on R-sig-geo.

Might also want to post in plain text format... see below how your message got messed up coming through the mailing list.
-- 
Sent from my phone. Please excuse my brevity.

On November 12, 2017 9:58:56 PM PST, Javad Bayat via R-help <r-help at r-project.org> wrote:
>I have a shape file as poly line and I want to convert it to polygon.Is
>it possible to do that in R?lake
><-readShapeLines("./lake_main_utm.shp")proj4string(lake) <-
>CRS("+proj=utm +zone=39 +datum=WGS84")
>
>Sincerely.
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list