Re: [R-sig-Geo] make thousands SpatialPolygons()

2010-07-01 Thread Tord Snäll
i,"Y"]+150,dat[i,"Y"]+150,dat[i,"Y"]-150,dat[i,"Y"]-150,paste("Number.",i,sep="")) } SpP = SpatialPolygons(my.list, 1:n) SrDf = SpatialPolygonsDataFrame(SpP, dat[1:n,]) writePolyShape(SrDf, fn="FemRutor") Tord From: romunov

[R-sig-Geo] make thousands SpatialPolygons()

2010-07-01 Thread Tord Snäll
Hi, I want to make approximately 1 square polygons (300*300) based on coordinates in a data frame, and make a .shp-file out of these. The .pdf "S Classes and Methods for Spatial Data: the sp Package" by Pebesma and Bivand contains an instruction on how to do this, and it works very well, e.

[R-sig-Geo] Summary: ArcView shape files and GeoBUGS

2009-02-05 Thread Tord Snäll
utfile,append=T) } ------ Hi Tord, I think you will find the extract you require in this paper https://beardocs.baylor.edu/bitstream/2104/3955/1/john_mcbride_phd.pdf Search the document for Yue Cui and it will bring you to the page. I have used the co

[R-sig-Geo] ArcView shape files and GeoBUGS

2009-02-05 Thread Tord Snäll
. Thanks, Tord -- Tord Snäll Department of Ecology Swedish University of Agricultural Sciences (SLU) P.O. 7044, SE-750 07 Uppsala, Sweden Office/Mobile/Fax +46-18-672612/+46-76-7662612/+46-18-673537 E-mail: tord.sn...@ekol.slu.se www.ekol.slu.se/staff

Re: [R-sig-Geo] pretty in spplot()

2008-11-14 Thread Tord Snäll
esire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Tord Snäll Verzonden: vrijdag 14 november 2008 12:14 Aan: r-sig-geo@stat.math.ethz.ch Onde

[R-sig-Geo] pretty in spplot()

2008-11-14 Thread Tord Snäll
Dear all, I would like legend cut-offs that are prettier that just executing spplot(SpatialPolygonsDataFrame(karta, as.data.frame(resdf[,c("TempEst.t","TempEst.tM1")]))) I try spplot(SpatialPolygonsDataFrame(karta, as.data.frame(resdf[,c("TempEst.t","TempEst.tM1")])),at=pretty()) , though wit