Re: [R] Plotting gps coordinates on Shapefile

2013-06-13 Thread Barry Rowlingson
On Thu, Jun 13, 2013 at 6:26 AM, L S losedag...@gmail.com wrote: I realized that the coordinates are completely different. The coordinates in my data file (i.e. my csv file) are traditional GPS coordinates (e.g. 39.17 or 76.37). The shapefile however has x,y values such as 1416813.54262877

Re: [R] Plotting gps coordinates on Shapefile

2013-06-13 Thread MacQueen, Don
Your shapefile should include specifications for its coordinate system. Look for a file names maryland.prj in the same directory as maryland.shp. And that coordinate system should be included in your 'border' object. You might need to change to using readOGR() to load the shapefile into R. Use