dot-fix: Fix Things

dot-fixR Documentation

Fix Things

Description

Fix things like GSHHSWorld.

Usage

.fixGSHHSWorld(world)

Arguments

world

data.framePolySet 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).

Value

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

Note

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

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

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)

PBSmapping documentation built on Sept. 30, 2024, 9:21 a.m.