creategrid: Project Point Data into a Rectangular Mesh of OGUs

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/creategrid.r


Dispalys punctual records into a grid system and creates the respective distributional table. Actions are facilitated by a graphical user interface (GUI).





An object of class 'dnpoint'.


The grid parameters (cell size and upper leftmost corner) can be manually adjusted. Keep press the left mouse button and move freely on the plotting region to select the upper leftmost corner.

A choropleth of taxonomic richness is next to the graticule/gradicule under manipulation. A brief report of transformations (from points to grid) can be exported to a PDF file.


A data frame with species and rectangular OGUs (operative geographic units) in rows and columns, respectively. The distributional table is saved into the global environment. The presence of a taxon into a given cell of the grid is coded 1, otherwise 0. The coordinates for each cell or OGU are arranged into the first two rows of the table, preceding the species themselves. The coordinates are integer numbers and match the indices of rows and columns in the grid system.


Tobler (1975) is a good starting point to put the geographical reasoning based on grids into an adequate context. Grids are appealing because of their isomorphism with a matrix structure. Unfortunately, this simple method to deal with spatial data takes arbitrary decisions on features like shape, size and placement of cells over the surface. Moreover, it is divorced from the spherical model of the Earth and forces distributions to accommodate their extensions to the rectangular pattern of the grid. This last charge can be analogized with the Greek myth of Procrustes.

Procrustes lived near the city of Eleusis. He captured his victims and took them back to his iron bed and stretched them out until they fit. If the victim was too long, he would cut him off. In any case, he made them fit a pre-established frame. Theseus put an end to this obsession: he made the giant undergo the same 'normalizing' treatment.


Daniel A. Dos Santos <[email protected]>


Tobler W. 1975. Cellular geography. Translation from the conference entitled "Schachbrett Modelle in der Geographie" exposed at "Arbeitskreis fur neue Methoden in der Regionalforschung", Wien.

See Also

See read.coord to capture point data from an external txt file


  ## Not run: 
## End(Not run) 

SyNet documentation built on May 30, 2017, 4:21 a.m.