Re: [R-sig-Geo] converting from NAD83 datum to lat,lon

2013-02-25 Thread Migun Shakya
e that it's not NA before proceeding with spTransform. > > (Re-projecting is not straightforward and you should really be > checking carefully at every step against the needs of your project, we > can't advise past the basics of just running code. ) > > Cheers, Mike. >

Re: [R-sig-Geo] converting from NAD83 datum to lat,lon

2013-02-25 Thread Migun Shakya
e to give you R > code to set it without re-reading. (Explore for yourself on > spatialreference.org). > > Also, "lat,lon" requires a datum like any map projection - you'll need > to find out if you should stay with NAD83 or convert to WGS84 as in > Erin's code

Re: [R-sig-Geo] converting from NAD83 datum to lat,lon

2013-02-25 Thread Migun Shakya
.df. > > Then you can do: > library(rgdal) > nc1.wgs84 <- spTransform(nc1.df,CRS("+proj=longlat +datum=WGS84")) > > > > From: r-sig-geo-boun...@r-project.org [r-sig-geo-boun...@r-project.org] on > behalf of Migun Shaky

[R-sig-Geo] converting from NAD83 datum to lat,lon

2013-02-25 Thread Migun Shakya
Hi all, Is there a way/package/trick to convert the NAD83 formatted file to lat lon format? I downloaded the "Major Hydrography" dataset from NC,USA to plot rivers into a NC map. However, the dataset is in NAD83 or in state plane projection, but i need it to be in lat/lon. Any help would be gre