1

I try to open shape file in R from this site

shape        <- readOGR(dsn = "/home/user/QGis/50m_physical", layer = "ne_50m_land")
shape_bord   <- readOGR(dsn = "/home/user/QGis/50m_cultural", layer = "ne_50m_admin_0_boundary_lines_land")

map<- ggplot()+
geom_polygon(data = shape, aes(x = long, y = lat, group = group), colour = "black", fill = NA)+
geom_polygon(data = shape_bord, aes(x = long, y = lat, group = group), colour = "green", fill = NA)

Some of files has double line in administrative borders.

How can I solve this problem?

enter image description here https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/cultural/ne_50m_admin_0_boundary_lines_land.zip

0 Answers0