dot-fix function

Fix Things

Fix Things

Fix things like GSHHSWorld.

.fixGSHHSWorld(world)

Arguments

  • world: data.frame -- PolySet of polygons for the global shorelines

Details

Determine PID of Antarctica, which is used to extract the current Antarctica. The continent is rebuilt from left to right, creating a new, very wide Antarctica. It is then clipped and merged into the existing world (with other polygons).

Returns

A revised PolySet of the world with a peeled version of Antarctica.

Author(s)

Nicholas M. Boers, Software Engineer, Jobber, Edmonton AB

Maintainer: Rowan Haigh, Program Head -- Offshore Rockfish

Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC

locus opus: Remote office, Vancouver BC

Last modified Rd: 2024-09-03

Note

This function is not called by any PBSmapping functions. It can be used after 'importGSHHS' uses ylim=c(-90,90).

See Also

In package PBSmapping:

importGSHHS, clipPolys

Examples

## Not run: worldLL = importGSHHS("gshhs_l.b",xlim=c(-20,360),ylim=c(-90,90),level=1,n=15,xoff=0) worldLL = .fixGSHHSWorld(worldLL) ## End(Not run)