Re: [R-sig-Geo] function for bearing

2006-03-09 Thread Sebastian Luque
Thank you all for your suggestions and reference (very interesting indeed). Cheers, -- Sebastian P. Luque ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] Convert esri shape files to esri ascii grid from R

2006-03-09 Thread Mulholland, Tom
I didn't know how to do this offhand, but a little research soon found a way. So I think you need to search the existing resources before asking your question as my basic search from R >RSiteSearch("esri grid") returned write.asciigrid as the first response. Since I routinely read shapefiles

[R-sig-Geo] Convert esri shape files to esri ascii grid from R

2006-03-09 Thread Yong Li
Hi R spatial experts, Has anybody done the conversion of esri shape files to esri ascii grid based on field values in R? I knew it can be done easily in Arcview using avenue. But if it can be done in R, that will fly my daily work loads. Regards Yong __

Re: [R-sig-Geo] function for bearing

2006-03-09 Thread Roger Bivand
On Thu, 9 Mar 2006, Sebastian Luque wrote: > Hello, > > I have searched the archives and other sources, but cannot find an R > function that would calculate the bearing of a pair of points (lat, lon). > It wouldn't be difficult to write such a function, but has this already > been done in a packa

Re: [R-sig-Geo] function for bearing

2006-03-09 Thread Tim Keitt
I believe this can be done in PROJ by simply dumping the points as ASCII and then calling 'geod' on the command line. THK On Thu, 2006-03-09 at 06:49 -0600, Sebastian Luque wrote: > Hello, > > I have searched the archives and other sources, but cannot find an R > function that would calculate th

[R-sig-Geo] function for bearing

2006-03-09 Thread Sebastian Luque
Hello, I have searched the archives and other sources, but cannot find an R function that would calculate the bearing of a pair of points (lat, lon). It wouldn't be difficult to write such a function, but has this already been done in a package? Thanks in advance, -- Sebastian P. Luque __