boundGEOmap function

Set Bounds for GEOmap

Set Bounds for GEOmap

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

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

Details

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

Returns

List structure: - STROKES: list(nam, num, index, col, style, code, LAT1, LAT2, LON1, LON2)

  • POINTS: list(lat, lon)

  • PROJ: list(type, LAT0, LON0, LAT1, LAT2, LATS, LONS, DLAT, DLON, FE, FN, name)

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

worldmap

Examples

library(geomapdata) data(worldmap) worldmap = boundGEOmap(worldmap)
  • Maintainer: Jonathan M. Lees
  • License: GPL (>= 2)
  • Last published: 2024-07-09

Useful links