Re: [R-sig-Geo] installing rgdal on Debian

2012-12-07 Thread Eduardo Bieñkowski
Hi all. For those who had the same problem: The solution was: In Ubuntu / Debian sudo apt-get install-dev libgdal1 sudo apt-get install-dev libproj Eduardo 2012/12/6 Hodgess, Erin hodge...@uhd.edu Hello! I'm trying to install rgdal on Debian. I keep getting the checking for gdal.h...no

Re: [R-sig-Geo] installing rgdal on Debian

2012-12-07 Thread Joseph Bechara
Hello, I'm not able to use the crop function for a raster Stack. I read that this problem was corrected in the CRAN version v 2.0-08. But it still not working for me also I modified the CRAN. Can somebody advise me. JOSEPH BECHARA Mapping Specialist 8th floor, Olivetti building, Mathaf,

Re: [R-sig-Geo] installing rgdal on Debian

2012-12-07 Thread Raffaele Morelli
2012/12/7 Eduardo Bieñkowski eduko...@gmail.com Hi all. For those who had the same problem: The solution was: In Ubuntu / Debian sudo apt-get install-dev libgdal1 sudo apt-get install-dev libproj Eduardo install-dev it's not an apt-get option... He's on Debian and according to the

[R-sig-Geo] Distance between two points

2012-12-07 Thread O'Hanlon, Simon J
Dear list, I am using the package geoRglm to do some predictive mapping. There is a function that calculates the distance between observed data points and the prediction locations using a .C call to a function which eventually calculates the length of the hypotenuse between one location and the

Re: [R-sig-Geo] Distance between two points

2012-12-07 Thread Sarah Goslee
Precisely. You should use great-circle distances with lat-lon coordinates, rather than Euclidean distance, because the actual length varies with position on the globe. Converting to UTM or something similar is one solution if your points are not too far apart. There are many other R solutions:

Re: [R-sig-Geo] Distance between two points

2012-12-07 Thread Sarah Goslee
Hi Simon, I've copied this back to the list, as is encouraged. On Fri, Dec 7, 2012 at 9:41 AM, O'Hanlon, Simon J simon.ohan...@imperial.ac.uk wrote: Hi Sarah, thank you. My data points are located in West Africa, so I think a good projection would be Lambert Azimuthal Equal Area. This

Re: [R-sig-Geo] Distance between two points

2012-12-07 Thread Roger Bivand
On Fri, 7 Dec 2012, Sarah Goslee wrote: Hi Simon, I've copied this back to the list, as is encouraged. On Fri, Dec 7, 2012 at 9:41 AM, O'Hanlon, Simon J simon.ohan...@imperial.ac.uk wrote: Hi Sarah, thank you. My data points are located in West Africa, so I think a good projection would be

[R-sig-Geo] trying to pass a grid to kernelkc

2012-12-07 Thread Corrie Curtice
Hi folks. I have a question about how to supply a grid to the kernelkc method in adehabitatHR. I've clipped my area and saved as an ASC file from ArcGIS. The kernelkc help says the parameter should be of class asc. I've read it in as both an asc and a SpatialGridDataFrame, but get an error from

Re: [R-sig-Geo] Distance between two points

2012-12-07 Thread Michael Sumner
Reproject the points to the coordinate system of thr grid, do the overlay then copy the attributes back. No need to warp a raster just for over(lay). On Saturday, December 8, 2012, Roger Bivand wrote: On Fri, 7 Dec 2012, Sarah Goslee wrote: Hi Simon, I've copied this back to the list, as