Learn R Programming

GEOmap (version 2.1)

boundGEOmap: Set Bounds for GEOmap

Description

Given a GEOmap strucutre, set the bounds for the strokes.

Usage

boundGEOmap(MAP, NEGLON = FALSE, projtype = 2)

Arguments

MAP
GEOmap structure
NEGLON
whether to allow negative longitudes
projtype
suggestion (local) map projection to use when getting bounds

Value

  • List structure:
  • STROKESlist(nam, num, index, col, style, code, LAT1, LAT2, LON1, LON2)
  • POINTSlist(lat, lon)
  • PROJlist(type, LAT0, LON0, LAT1, LAT2, LATS, LONS, DLAT, DLON, FE, FN, name)

Details

Used to rectify a new map after reading in from ascii file. Can take GMT map ascii map files and convert to GEOmap.

See Also

worldmap

Examples

Run this code
library(geomapdata)
data(worldmap)
worldmap = boundGEOmap(worldmap)

Run the code above in your browser using DataLab