Displaying 1 result from an estimated 1 matches for "clipp".
Did you mean:
clip
2011 Nov 16
1
HELP DATA CLIPPING AND DATA OVERLAY ON A MAP
I have csv data that extend beyond the area I want for an existing map. I want using the boundaries of the polygon shape file as a cookie cutter so that I can overlay the csv data on map without including anything outside the map boundaries and create a dbf file or shapefile of the clipped data . The reproducible example:
###############################################
library(RColorBrewer)
library(RColorBrewer)
library(sp)
require(foreign)
require(latticeExtra)
reguire(lattice)
#Example data
lat <- seq(-12, -1, 0.1)
lon <- seq(28, 45, 0.1)
data <- expand.grid(lat=lat, lo...