Meridional and Parallel Lines for Maps

Create graticule lines and labels for maps. Control the creation of lines by setting their placement (at particular meridians and parallels) and extent (along parallels and meridians). Labels are created independently of lines.


Travis-CI Build Status

graticule

Graticules are the longitude latitude lines shown on a projected map, and defining and drawing these lines is not easy to automate. The graticule package provides the tools to create and draw these lines by explicit specification by the user. This provides a good compromise between high-level automation and the flexibility to drive the low level details as needed, using base graphics in R.

Installation

The graticule package is on GitHub, and can be installed like this:

```R
if (packageVersion("devtools") < 1.6) {
  install.packages("devtools")
}
devtools::install_github("mdsumner/graticule")
```

Known issues

o There's work needed for when graticule_labels() are created without using xline/yline, need more careful separation between generating every combination in the grid versus single lines

News

VERSION 0.1.2

o updated many PROJ.4 strings to have more complete params

o specify LCC standard parallels explicitly to avoid problems from some PROJ.4 installations

 VERSION 0.1.0

o new function pathologicule to draw the other projection

VERSION 0.0.3

o upgraded for release

o added ice file raw data for vignette

VERSION 0.0.2

o added tiles option to graticule to return polygons

o added a readme for the GitHub front page

VERSION 0.0.1

o basics working

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("graticule")

0.1.2 by Michael D. Sumner, 3 years ago


https://github.com/mdsumner/graticule


Report a bug at https://github.com/mdsumner/graticule/issues


Browse source code at https://github.com/cran/graticule


Authors: Michael D. Sumner [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports raster

Depends on sp

Suggests devtools, knitr, maptools, oce, rgdal, rworldmap, testthat


Suggested by rbgm.


See at CRAN