IMAP-package: Interactive Mapping

Description Details Author(s) Examples

Description

The main function imap() and its allies ilines() and ipts() enables the user to zoom in, zoom out, and reset a collection of polygons, lines, or points. The function select.lines() allows the interactive selction of one or more lines, whereas select.pts() has the user create a polygon to select a collection of points within or outside of the polygon. The user has control over the color and width of the lines, the color of the polygon fill, and the aspect ratio.

Details

Package: IMAP
Type: Package
Version: 1.32
Date: 2010-02-011
License: GPL (>= 2)
LazyLoad: yes

Without any input data imap() defaults to using version 2.0 of the GSHHS (Global Self-consistent Hierarchical High-resolution Shorelines) polygons. However, any two dimensional user supplied data or a list of multiple data sets can be used. When the user has finished interacting with the data the result is invisibly returned as a list of lists which, if saved, can in turn be replotted with imap. Zooming is accomplished by left-clicking in two different locations on the figure to define a rectangle that will be zoomed into. Left-clicking outside the plot region (but somewhere in the figure region) will zoom out locally. Double left-clicking on the same spot will reset the figure. Right-click to stop.

Author(s)

John R. Wallace: Imap.for.R@gmail.com (Limited support)

Examples

1
    #	See examples under the main 'imap() function.

Example output



Imap documentation built on May 2, 2019, 2:46 a.m.

Related to IMAP-package in Imap...