Learn R Programming

GEOmap (version 2.5-11)

GEOmap.list: GEOmap to list

Description

Inverse of list.GEOmap.

Usage

GEOmap.list(MAP, SEL = 1)

Value

STROKES

Metadata for strokes

POINTS

list, lat=vector, lon=vector

LL

list of lat-lon strokes

Arguments

MAP

GEOmap list

SEL

index, selecttion of specific strokes

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Returns the GEOmap strokes and instead of a long vector for the points they are broken down into a list of strokes.

See Also

GEOmap.cat, GEOmap.Extract, GEOmap.CombineStrokes, list.GEOmap

Examples

Run this code

data(coastmap)
SEL=which(coastmap$STROKES$nam=='CUBA')
G = GEOmap.list(coastmap, SEL=SEL )

###  Lat-Lon of Cuba
G$LL



Run the code above in your browser using DataLab