d<-read.table("bbasin.dat",header=FALSE) # dataset not provided with oce
HH <-c(1645:2105) # main outline of Halifax Harbour
GI <-c(4866:4885) # George's Island
coastlineHalifax <- as.coastline(latitude[c(HH,GI)],longitude[c(HH,GI)]-360)
Run the code above in your browser using DataLab