Learn R Programming

geo (version 1.4-3)

Draw and Annotate Maps, Especially Charts of the North Atlantic

Description

Used by Hafro staff to draw maps showing the distribution of fishing intensity and catches, and of survey data for Icelandic fish stocks. Potentially useful for others.

Copy Link

Version

Install

install.packages('geo')

Monthly Downloads

21

Version

1.4-3

License

GPL (>= 2)

Last Published

July 3rd, 2015

Functions in geo (1.4-3)

geo.Split.poly

Split a polygon into a list
gbdypi.500

GEBCO 500 m isobath in the N-Atlantic.
Set.grd.and.z

Manipulate grid and z-values for contouring.
adapt

Adapts geographical positions
faeroes

Coastline of Faroe Islands
geochull

Convex hull of a set of positions
depthloc

Depth label locations.
inside.reg.bc1

Determine which bormicon (or gadget) region data belong to.
gridaxes

Set up axes for a geoplot
bua

Makes a list used in pointkriging
fill.points

Fill points (thicken)
bwps

Open a postscript device with the color scheme given by geoplotbwpalette. (black and white)
fill.outside.border

Fills space outside the border of a plot.
d2ir

Convert between Geographic Coordinates and ICES Rectangles
giveborder

Define regions intteractively
geosymbols

Plot different kinds of symbols at the data points.
find.hnit

Find coordinate(s) ??
fitspher.aut.1

Fits a super-smoother to a variogram (?)
Open.curve

Open smooth curve through positions
cut_multipoly

Intersect or take complement (?) of polygons
geoplotpalette

Set define a traditional geoplot-palette
geoconvert

Convert latitude and longitude
geopar.std

Parameters for the geo plot functions.
geoexpand

expands a grid to a dataframe.
geointersect

Find intersection of 2 polygons
Proj

Performs Mercator or Lambert projection of data.
fill.matrix

Relace elements of a matrix
gbdypi.1000

GEBCO 1000 m isobath in the N-Atlantic.
geoarea.old

Old method for calculating geographical area
gepco500

GEBCO 500 m isobath extending around the Faroes.
pltgrid

Plots grid lines
extract

Extract a grid (?)
gbdypif.500

GEBCO 500 m isobath around Iceland.
geolegend

Put a legend on a plot in the geo series.
geolines

Add lines to current plot initialized by geoplot.
gbdypif.400

GEBCO 400 m isobath around Iceland.
geoworld

Plots rough outline of the world.
currentarrows

Plot arrows and segments showing the size and direction of currents.
gridpoints

Produce gridpoints over an area
adjust.grd

Adjusts grid for plot in Lambert projection.
plot_nogrid

Grid control ?
circle.one.point

Find a circle around a point
Closed.curve

Closed smooth curve through positions
geocurve

Smooth curves and put arrows in the beginning and end.
bisland

Icelandic coastline, hi-resolution
geopoints

Adds points on plots initialized by geoplot.
SegmentWithArrow

Plot line segment with arrow at the end.
labels2

Label plots
gbdypi.800

GEBCO 800 m isobath in the N-Atlantic.
geo-package

Draw and Annotate Maps, Especially Charts of the North Atlantic
invmerc

Inverse Mercator Projection
orthproj

Performs an orthogonal projection to a curve.
geoconvert.2

Convert from decimal degrees
inside.reg.bc

Determine which bormicon (or gadget) region data belong to.
geoSR

Plot Squares in Different Colors
colsymbol

Plot colored symbols
findline

Finds a line (?)
ices

ICES Areas
eyjar

Icelandic islands
glaciers

Outlines of Icelandic glaciers.
labels1

Label plots
geoconvert.1

Convert to decimal degrees
cut_box.2

Cut box type 2???
geotext

Plots text on a drawing defined by geoplot.
arcdist

Geographical distance computations
gbplot

GEBCO plot. Plots equidepth lines.
pdistx

Euclidian distance
geogrid

Plots a grid.
mercator

Mercator projection
cut_box.1

Cut box ?
deg2rect

Given position return rectangle code.
intra.point.dist

Intra point/position distance
geolines.with.arrows

Add arrowhead to plot
gbdypi

Isobaths in the NE-Atlantic
nonsetpar

Some parameter settings.
geosubplot

Adds a plot to an existing plot initialized by geoplot.
geoidentify

Identifies points on plots using lat and lon coordinates.
shading1

Shading of geoplots?
geopar

Parameters for the geo plot functions.
geopolygon

Fill an area.
gridaxes.Lambert

Set up axes for a Lambert projected geoplot
reitaplott

Function that fills rectangles or sub-rectangles according to the amount of fish calculated in them.
inside.reg.lump

Inside region in lumpsucker fishery
greenland

Outline of Greenland.
frame2gpx

Convert latlon data frame to gpx file.
plot_reitnr

Plots rectangle codes
litir

Display palette in effect
pre2s

Read prelude files
geozoom

Zoom into plots.
combine.rt

Aggregate data on square grid, pad with zeros. Faster than tapply.
lambert

Lambert projection
icelandrivers

Icelandic rivers.
geoaxis

Setup axes for a geoplot
prepare.line

Prepare a line ?
island

Icelandic coastline.
geodefine

Defines regions.
Reitur2Svaedi1to10

Allocate statistical rectangles and subrectangles to Bormicon-areas 1--10.
skipta.texta

Translate characters in column names
shadeborder

Shade border ?
labels_line

Labels line ?
postcol

Old palette.
locdist

Distance between two locations
pdist

Spherical (?) distance
s2pre

Writes out data.frame or matrix to a prelude-file.
labels_size

Label symbols of given size
reg.lump

Lumpfish regions
paint.window

Paint window for label?
init

Initiate a geoplot (??)
pointkriging

interpolates regularly spaced data on a grid.
invProj

Performs the inverse Mercator or Lambert projection of data.
selectedpar

Parameters manipulation ?
Arrow

Add arrow to plot.
apply.shrink.dataframe

Apply functions to columns in a dataframe
colps

Open a postscript device with the color scheme given by geoplotpalette.
rect2deg

Given rectangle code return its center position.
setgrid

Produce a grid over an area
selpos

Geographical point selection.
plvar

Plots a variogram estimated by variofit.
invlambert

Inverse Lambert projection
subplot

Add subplot
inside

Finds a subset of data inside (or outside) a region
reg.bc

Bormicon regions
geoarea

Calculates the area of a given region.
spherical

Spherical??
ps

Periodic spline
geocontour.fill

geocontour.fill plots colored or black and white contours on a graph made by geoplot.
geoplotbwpalette

Black and white palette
rectPeri

Given rectangle code return perimeter as a polygon in lat lon
paint.window.x

Paint window for label ?
rectArea

Given rectangle code return area in square kilometers or nautical miles
twohmiles

The Icelandic EEZ.
geoplot

Plots lat and lon coordinates using Mercator or Lambert transformation.
geodezoom

Restores a zoomed plot.
Elimcomp

Parameters manipulation ?
variogram

Calculates the distance between each pair of datapoints.
geotows

Plot tows as line segments
findcut

Find intersection or complement
geoinside

Finds a subset of a given set of data which is inside a given region.
COUNTRY.DEFAULT

Default country for geo.
variofit

Function that fits a model to a variogram.
Rlitir

Display colors.
gbdypi.400

GEBCO 400 m isobath in the N-Atlantic.
geocontour

Plots contour lines.
gbdypi.200

GEBCO 200 m isobath in the N-Atlantic.
geolocator

Locates points on a plot initialized by geoplot.
SMB.std.background

Standard background for the SMB.
rGrid

Produce a grid of rectangles on a plot, filled with colors if desired.
apply.shrink

Apply a function to a vector for a combination of categories.
gbdypi.100

GEBCO 100 m isobath in the N-Atlantic.
gbdypif.200

GEBCO 200 m isobath around Iceland.