PBSmapping2.74.1 package

Mapping Fisheries Data and Spatial Analysis Tools

Add Bubbles to Maps

Add Compass Rose to Map

Add Labels to an Existing Plot

Add a PolySet to an Existing Plot as Polylines

Add EventData/PolyData to an Existing Plot as Points

Add Polygon PolySet to Existing Plot

Add Stipples to an Existing Plot

Append a Two-Column Matrix to a PolySet

Calculate the Areas of Polygons

Calculate the Centroids of Polygons

Calculate Convex Hull for a Set of Points

Calculate Great-Circle Distance

Calculate the Length of Polylines

Calculate the Midpoint of the X/Y Ranges of Polygons

Apply Functions to Polygons in a PolySet

Calculate Voronoi Tesselation

Clip a PolySet as Polygons or Polylines

Close a PolySet

Combine Measurements of Events

Combine Several Polygons into a Single Polygon

Convert Contour Lines into a PolySet

Convert EventData/PolyData into a PolySet

Convert Polylines into a Polygon

Convert Coordinates between UTM and Lon/Lat

Divide a Single Polygon into Several Polygons

Add Items to Plots

Calculate Things

Check Stuff

Create Indices for PolySets

Fix Things

Get Stuff

Are Points in Polygons?

Convert Matrix to Data Frame

Run PBSmapping Example Figures

PBSmapping Environment

Validate PBSmapping Data Structures

EventData Objects

Extract PolyData from a PolySet

Find Grid Cells that Contain Events

Find Polygons that Contain Events

Fix the Boundary Points of a PolySet

Fix the POS Column of a PolySet

Import EventData from a Text File

Import Data from a GSHHS Database

Import LocationSet from Text File

Import PolySet from Text File

Determine Whether Polygons are Convex

Determine Whether Polygons are Self-Intersecting

Join One or Two PolySets using a Logic Operation

Locate Events on the Current Plot

Locate Polygons on the Current Plot

LocationSet Objects

Make a Grid of Polygons

Make Polygon Properties

Make Topography Data from Online Source

PBS Mapping: Draw Maps and Implement Other GIS Procedures

Specify Whether to Print Summaries

Place Holes Under Solids

Plot a PolySet as Polylines

Plot a PolySet as a Map

Plot EventData/PolyData as Points

Plot a PolySet as Polygons

PolyData Objects

PolySet Objects

Print PBS Mapping Objects

Refocus the `worldLL`

/`worldLLhigh`

Data Sets

Convert RGB to RYB and RYB to RGB

Rotate Polygons and Events

Summarize PBS Mapping Objects

Thicken a PolySet of Polygons

Thin a PolySet of Polygons

This software has evolved from fisheries research conducted at the Pacific Biological Station (PBS) in 'Nanaimo', British Columbia, Canada. It extends the R language to include two-dimensional plotting features similar to those commonly available in a Geographic Information System (GIS). Embedded C code speeds algorithms from computational geometry, such as finding polygons that contain specified point events or converting between longitude-latitude and Universal Transverse Mercator (UTM) coordinates. Additionally, we include 'C++' code developed by Angus Johnson for the 'Clipper' library, data for a global shoreline, and other data sets in the public domain. Under the user's R library directory '.libPaths()', specifically in './PBSmapping/doc', a complete user's guide is offered and should be consulted to use package functions effectively.

Maintainer: Rowan Haigh License: GPL (>= 2) Last published: 2024-09-25

Useful links