GEOmap.CombineStrokes function

Combine strokes in a GEOmap list

Combine strokes in a GEOmap list

GEOmap.CombineStrokes(MAP, SEL)

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.

Returns

GEOmap list - STROKES: Metadata for strokes

  • POINTS: list, lat=vector, lon=vector

Author(s)

Jonathan M. Leesjonathan.lees@unc.edu

See Also

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

Examples

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)
  • Maintainer: Jonathan M. Lees
  • License: GPL (>= 2)
  • Last published: 2024-07-09

Useful links