dot-fix {PBSmapping}R Documentation

Fix Things

Description

Fix things like GSHHSWorld.

Usage

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

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)

[Package PBSmapping version 2.74.1 Index]