PBSmapping2.73.4 package

Mapping Fisheries Data and Spatial Analysis Tools

appendPolys

Append a Two-Column Matrix to a PolySet

calcArea

Calculate the Areas of Polygons

calcCentroid

Calculate the Centroids of Polygons

calcConvexHull

Calculate the Convex Hull for a Set of Points

addBubbles

Add Bubbles to Maps

addCompass

Add Compass Rose to Map

addLabels

Add Labels to an Existing Plot

addLines

Add a PolySet to an Existing Plot as Polylines

addPoints

Add EventData/PolyData to an Existing Plot as Points

addPolys

Add a PolySet to an Existing Plot as Polygons

addStipples

Add Stipples to an Existing Plot

calcGCdist

Calculate Great-Circle Distance

calcLength

Calculate the Length of Polylines

calcMidRange

Calculate the Midpoint of the X/Y Ranges of Polygons

calcSummary

Apply Functions to Polygons in a PolySet

calcVoronoi

Calculate the Voronoi (Dirichlet) Tesselation for a Set of Points

clipLines

Clip a PolySet as Polylines

clipPolys

Clip a PolySet as Polygons

closePolys

Close a PolySet

combineEvents

Combine Measurements of Events

combinePolys

Combine Several Polygons into a Single Polygon

convCP

Convert Contour Lines into a PolySet

convDP

Convert EventData/PolyData into a PolySet

convLP

Convert Polylines into a Polygon

convUL

Convert Coordinates between UTM and Lon/Lat

dividePolys

Divide a Single Polygon into Several Polygons

dot-is.in

Are Points in Polygons?

dot-PBSfigs

Run PBSmapping Example Figures

dot-PBSmapEnv

PBSmapping Environment

EventData

EventData Objects

extractPolyData

Extract PolyData from a PolySet

findCells

Find Grid Cells that Contain Events

findPolys

Find Polygons that Contain Events

fixBound

Fix the Boundary Points of a PolySet

fixPOS

Fix the POS Column of a PolySet

importEvents

Import EventData from a Text File

importGSHHS

Import Data from a GSHHS Database

importLocs

Import LocationSet from Text File

importPolys

Import PolySet from Text File

isConvex

Determine Whether Polygons are Convex

isIntersecting

Determine Whether Polygons are Self-Intersecting

joinPolys

Join One or Two PolySets using a Logic Operation

locateEvents

Locate Events on the Current Plot

locatePolys

Locate Polygons on the Current Plot

LocationSet

LocationSet Objects

makeGrid

Make a Grid of Polygons

makeProps

Make Polygon Properties

makeTopography

Make Topography Data from Online Source

PBSmapping

PBS Mapping: Draw Maps and Implement Other GIS Procedures

PBSprint

Specify Whether to Print Summaries

placeHoles

Place Holes Under Solids

plotLines

Plot a PolySet as Polylines

plotMap

Plot a PolySet as a Map

plotPoints

Plot EventData/PolyData as Points

plotPolys

Plot a PolySet as Polygons

PolyData

PolyData Objects

PolySet

PolySet Objects

print

Print PBS Mapping Objects

refocusWorld

Refocus the worldLL/worldLLhigh Data Sets

RGB2RYB

Convert RGB to RYB and RYB to RGB

rotatePolys

Rotate Polygons and Events

summary

Summarize PBS Mapping Objects

thickenPolys

Thicken a PolySet of Polygons

thinPolys

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: 2023-11-04