DOTOPOMAPI {GEOmap} | R Documentation |
Interactive selction and plotting of world topography
DOTOPOMAPI(TOPO = TOPO, themap = NULL, shiftlon = 0, ALOC = NULL, DOCONT = TRUE, DOIMG = TRUE, PNTS = NULL, PCOL = "red", PCH = 1, PCEX = 1, PS = FALSE, MAPPATH = NULL, polybase = NULL, USAmap = NULL, usacity = NULL, worldcity = NULL)
TOPO |
Topographic structure |
themap |
Map structure |
shiftlon |
rotation of map in Longitude |
ALOC |
previously set target |
DOCONT |
logical, TRUE=add contour |
DOIMG |
logical, TRUE=add contour |
PNTS |
Plot set of points on map |
PCOL |
color palette |
PCH |
plotting character |
PCEX |
character expansion |
PS |
logical, TRUE=make postscript |
MAPPATH |
path to map data base files |
polybase |
polygon structure for continents |
USAmap |
USA detailed map structure |
usacity |
list of USA cities with population |
worldcity |
list of world cities |
Should select a small section of the map or the program will take a long time to interpolate.
Interactive Graphics side effect
The program uses akima to interpolate so if there are a very large number of points this will take a long time. Recommend using this for smaller geographic regions. This program is an RPMG GUI driver for BASICTOPOMAP
Jonathan M. Lees<jonathan.lees.edu>
BASICTOPOMAP, RPMG
library(geomapdata) data(worldmap) data(ETOPO5) ## Not run: ### this is in interactive mode with plotworldmap: DOTOPOMAPI(TOPO=ETOPO5, themap=worldmap, shiftlon=180) ## End(Not run) ## select a small region, like the boot heel of italy ########### italy: Alocat = list( lon=c(11.55842, 18.92308), lat=c(35.71026, 47.05730), LON=c(11.55842, 18.92308), LAT=c(35.71026, 47.05730), utmbox=list(x=32, y="S", lon=6,lat=32), x=c(191.5584, 198.9231), y=c(35.71026, 47.05730), UTM0=list(lam=9,phi=36), shiftlon=180) DOTOPOMAPI(TOPO=ETOPO5, themap=worldmap, ALOC=Alocat, shiftlon=180)