Learn R Programming

GEOmap (version 2.5-11)

boundGEOmap: Set Bounds for GEOmap

Description

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

Usage

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

Value

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)

Arguments

MAP

GEOmap structure

NEGLON

whether to allow negative longitudes

projtype

suggestion (local) map projection to use when getting bounds

Author

Jonathan M. Lees<jonathan.lees.edu>

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