Combine strokes in a GEOmap list

Description

Combine strokes in a GEOmap list

Usage

1

Arguments

MAP

GEOmap list

SEL

index of strokes to be combined

Details

Stokes are combined in the order designated by the SEL index vector. The direction of the strokes is not modified - this may have to be fixed so that strokes align properly.

Value

GEOmap list

STROKES

Metadata for strokes

POINTS

list, lat=vector, lon=vector

Author(s)

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

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(coastmap)
SEL = which(coastmap$STROKES$nam=="Caribbean")


CAR =  GEOmap.Extract(coastmap, SEL, INOUT="in" )

plotGEOmap(CAR, MAPstyle=3, NUMB=TRUE)

CAR2 = GEOmap.CombineStrokes(CAR, SEL =c(6:15)  )

plotGEOmap(CAR2, MAPstyle=3, MAPcol='red' , add=TRUE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.