Re: [R-sig-Geo] great circle distances

2012-03-26 Thread Francis Markham
Yep, if you are after an answer to an ArcGIS question I'd direct you to: http://gis.stackexchange.com/ On 27 March 2012 00:36, Sarah Goslee wrote: > Hi, > > On Mon, Mar 26, 2012 at 7:43 AM, A.P.B. Carneiro wrote: > > Hi > > > > I need to calculate the average nearest neighbor distance between

Re: [R-sig-Geo] Creating a spatial boundary using Lines() and SpatialLines()

2012-03-26 Thread Roger Bivand
No idea. Can users of kernelUD() reply? Please also read the manual page, "href" is said to be an ad hoc method to find a suitable value, but maybe it doesn't suit your data? Roger On Mon, 26 Mar 2012, Struve,Juliane wrote: Dear Roger, Thank you for this helpful comment. The spatial bounda

Re: [R-sig-Geo] Creating a spatial boundary using Lines() and SpatialLines()

2012-03-26 Thread Struve,Juliane
Dear Roger, Thank you for this helpful comment. The spatial boundary now works. However, when I submit it to KernelUD() using kernelUD(Movement_Spatial,h="href",grid=Raster_map,boundary=coastline) I get an error message "Error in 3 * h : non-numeric argument to binary operator" The boundary is s

Re: [R-sig-Geo] great circle distances

2012-03-26 Thread Sarah Goslee
Hi, On Mon, Mar 26, 2012 at 7:43 AM, A.P.B. Carneiro wrote: > Hi > > I need to calculate the average nearest neighbor distance between nests > coordinates (lat/long). However, I would like to use the great circle > distances in spite or Euclidian distances. Is it possible to do this in > ArcGis 1

Re: [R-sig-Geo] Variable point size with spplot

2012-03-26 Thread Edzer Pebesma
On 03/26/2012 01:10 PM, piero campa wrote: > Dear list, > I used to plot points of variable size with "spplot" this way: > > library(RColorBrewer) > data(meuse) > coordinates(meuse) <- ~x+y > spplot(meuse, zcol="om", > col.regions=colorRampPalette(brewer.pal(7, "PuBu")[-(1:1)])(20), >

[R-sig-Geo] great circle distances

2012-03-26 Thread A.P.B. Carneiro
Hi I need to calculate the average nearest neighbor distance between nests coordinates (lat/long). However, I would like to use the great circle distances in spite or Euclidian distances. Is it possible to do this in ArcGis 10? Thank you for your attention, Ana -- PhD student Evolutionary

[R-sig-Geo] Variable point size with spplot

2012-03-26 Thread piero campa
Dear list, I used to plot points of variable size with "spplot" this way: library(RColorBrewer) data(meuse) coordinates(meuse) <- ~x+y spplot(meuse, zcol="om", col.regions=colorRampPalette(brewer.pal(7, "PuBu")[-(1:1)])(20), scales=list(draw=TRUE), cex=.4*(1:5) ) but now