Set Bounds for GEOmap
Given a GEOmap strucutre, set the bounds for the strokes.
boundGEOmap(MAP, NEGLON = FALSE, projtype = 2)
MAP
: GEOmap structureNEGLON
: whether to allow negative longitudesprojtype
: suggestion (local) map projection to use when getting boundsUsed to rectify a new map after reading in from ascii file. Can take GMT map ascii map files and convert to GEOmap.
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)
Jonathan M. Lees<jonathan.lees.edu>
worldmap
library(geomapdata) data(worldmap) worldmap = boundGEOmap(worldmap)
Useful links