Re: [R-sig-Geo] stuck on importing and projecting shapefiles

2009-12-30 Thread Noli Sicad
> importing both shapefiles into QGIS (a separate GIS program), reprojecting > them and exporting them from there and re-applying my R code but I get the > same error message. Does anyone have any suggestions as to what I might be > doing wrong and how I can get these shapefiles into a c

Re: [R-sig-Geo] stuck on importing and projecting shapefiles

2009-12-30 Thread alexandre villers
ve any suggestions as to what I might be doing wrong and how I can get these shapefiles into a common projection so that I can calculate the area of their intersection? Thanks in advance for the help! Alexandre Villers PhD. Candidate Team Agripop CEBC CNRS UPR 1934 79360 Beauvoir sur Niort Pho

Re: [R-sig-Geo] Shapefiles of New Zealand

2009-12-30 Thread Noli Sicad
Better Free Spatial Data Country level http://www.diva-gis.org/Data Sorry for answering my own question. Noli On 12/31/09, Noli Sicad wrote: > OK. I remember OSM repo - cloudmade. > > http://downloads.cloudmade.com/oceania/new_zealand#breadcrumbs > > Noli > > On 12/31/09, Noli Sicad wrote: >

Re: [R-sig-Geo] Shapefiles of New Zealand

2009-12-30 Thread Noli Sicad
OK. I remember OSM repo - cloudmade. http://downloads.cloudmade.com/oceania/new_zealand#breadcrumbs Noli On 12/31/09, Noli Sicad wrote: > Hi, > > I am searching the net for the "basic" shapefile of New Zealand. I > could not find a site to download it. > > Any hint where to download it. > > Th

[R-sig-Geo] Shapefiles of New Zealand

2009-12-30 Thread Noli Sicad
Hi, I am searching the net for the "basic" shapefile of New Zealand. I could not find a site to download it. Any hint where to download it. Thanks. Noli ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-s

[R-sig-Geo] stuck on importing and projecting shapefiles

2009-12-30 Thread Julie Lee-Yaw
Hi, I am new to both R and spatial data and am very stuck on what I think should be a simple analysis. I am trying to do a polygon overlay analysis of two shapefiles from different sources. Before proceeding to my overlay functions, I am trying to plot my shapefiles to double check that they lin

Re: [R-sig-Geo] POSIX* objects and writeOGR()

2009-12-30 Thread Michael Sumner
POSIXlt stores the date-times as a list of vectors decomposed into the (still numeric) component parts ("sec", "min", "hour", "mday", "mon", "year", "wday", "yday", "isdst") so that cannot be stored as a single column in the data frame - you would need 9 columns. Compare these to see the underlyi

[R-sig-Geo] POSIX* objects and writeOGR()

2009-12-30 Thread Agustin Lobo
This might be a bit off-topic. I have to export as shape an Sp.Poly.DF in which one of the variables records date and time as POSIXtc. As writeOGR() complains about the POSIXct variable, I'm trying to convert to POSIXlt, which I think that will be accepted (another alternative would be coverting t

Re: [R-sig-Geo] Close Spatial Lines into a Polygon

2009-12-30 Thread Roger Bivand
On Wed, 30 Dec 2009, Rodrigo Aluizio wrote: Hi Sig list, I?m really new representing spatial data, but I?m already able to create excellent maps using sp, maptools and mapdata packages. Anyway, I have a SpatialLines object (attached) which I would like to ?close? and turn it into a SpatialPolyg