grid2latlong(input)
x
y
n x 2
latlong2grid
coord <- data.frame(rbind( # Montreal, QC c(-6414.30, 5052.849), # Vancouver, BC c(-122.6042, 45.6605) )) grid2latlong(coord)
Run the code above in your browser using DataLab