Re: [R-sig-Geo] Plotting point labels along with points using spplot sp.layout list

2007-09-30 Thread Felix Andrews
On 9/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > # Assume: ss[] is a char vector of point labels, one per Centroid element.. > # display list entries for first two points > # > pt1 = list("sp.text",c(LatLongs[1,1],LatLongs[1,2]),ss[1],col="white",pos=2) > pt2 = list("sp.text",c(LatLongs[2

Re: [R-sig-Geo] SpatialPoints problem

2007-09-30 Thread Johan Van de Wauw
On 9/30/07, Stoitchko Kalenderski <[EMAIL PROTECTED]> wrote: > Hi All, > I am trying to create a grid but something getting wrong > here is the code > > rm(list=ls()) > library(maptools) > library(rgdal) > > options("digits"=22) > lat=seq(from= -123.4, to= -121.4, length=20) > long=seq(from=48.95,

[R-sig-Geo] SpatialPoints problem

2007-09-30 Thread Stoitchko Kalenderski
Hi All, I am trying to create a grid but something getting wrong here is the code rm(list=ls()) library(maptools) library(rgdal) options("digits"=22) lat=seq(from= -123.4, to= -121.4, length=20) long=seq(from=48.95, to=49.5, length=10) #generates the grid grd = expand.grid(lat,long) sp_grd <- S

Re: [R-sig-Geo] problem on converting the coordinates into interval [0, 1]?

2007-09-30 Thread zhijie zhang
Dear Prof. Roger, Yes, it's really a reasonable reason. The conversion method mentioned before by me may be not good, because it used different scale factors for x and y coordinates. A new correct method may be explored. Waiting for your good news. On 9/28/07, Roger Bivand <[EMAIL PROTECTE