geom_path with wintri projection

Im trying to plot world eezs as a Winkel Tripel projection, however Im having issues with lines of the eezs extrapolating across the countries. Whats the best way to remedy this issue? The code is below.
The shapefile of the Exclusice Economic Zone of countries EEZ boundaries was downloaded from . The shapefile was converted in SpatialPolygonsDataFrame using rgdal:

layer = "EEZ_land_v2_201410.shp"
path  = "C:\\shapefile\\EEZ_land_union_v2_201410"

eez = readOGR(dsn = path, layer=file_path_sans_ext(layer))
test = spTransform(eez, CRS("+proj=wintri"))
test = fortify(test)
ggplot()+ geom_path(data=test, aes(x=long,y=lat, group=group))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.