Description Usage Arguments Details Value Author(s) See Also Examples
Make a grid of polygons, using PID
s and SID
s according
to the input arguments.
1 2 
x 

y 

byrow 

addSID 

projection 

zone 

type 

This function makes a grid of polygons, labeling them according to
byrow
and addSID
.
For rectangular tesselations (grid cells), the variables i and j indicate column and row numbers, respectively, where the lowerleft cell of the grid is (1, 1):
byrow
= TRUE
and addSID
=
FALSE
implies PID
= i + (j  1) * (m  1)
byrow
= FALSE
and addSID
=
FALSE
implies PID
= j + (i  1) * (n  1)
byrow
= TRUE
and addSID
=
TRUE
implies PID
= i, SID
= j
byrow
= FALSE
and addSID
=
TRUE
implies PID
= j, SID
= i
For hexagonal tesselations (grid cells), i indicates columns for flattopped hexagons and rows for pointytopped hexagons. The reverse is true for j. Stemming from their sixsided nature, hexagons will adjoin along a longedge by row when their orientation is such that one vertex is higher than all the others. Hexagons will adjoin along a longedge by column when their orientation shows two uppermost vertices.
PolySet with columns PID
, SID
(if addSID=TRUE
), POS
, X
, and Y
.
The PolySet is a set of rectangular grid cells when type='rectangle'
, with
vertices:
(x_i, y_j), (x_(i+1), y_j), (x_(i+1), y_(j+1)),
(x_i, y_(j+1)).
The PolySet is a set of hexagonal grid cells when type='hexagon'
.
Nicholas M. Boers, Associate Professor – Computer Science
MacEwan University, Edmonton AB
Rowan Haigh, Program Head – Offshore Rockfish
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
locus opus: Institute of Ocean Sciences (IOS), Sidney BC
Last modified Rd: 20190104
addPolys
,
clipPolys
,
combineEvents
,
findCells
,
findPolys
,
thickenPolys
.
1 2 3 4 5 6 7 8 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.