[R-sig-Geo] ODP: Generating vetor (shapefiles) in R

2007-06-20 Thread Roger Bivand
Grids are not vector format - you could coerce the SpatialGridDataFrame to a SpatialPointsDataFrame, but is this the kind of output you need? SpatialPixels can also be coerced to SpatialPolygons rectangles, but what you do will depend on your needs. Roger --- Roger Bivand, NHH, Helleveien 30

[R-sig-Geo] ODP: spsample and NA

2007-06-20 Thread Roger Bivand
I think that if you cast to SpatialPixels first, the problem will go away, because the all-NA cases are dropped with their coordinates. Could you try the same example with meuse.grid and see how it goes? Roger --- Roger Bivand, NHH, Helleveien 30, N-5045 Bergen, [EMAIL PROTECTED] ___

[R-sig-Geo] Generating vetor (shapefiles) in R

2007-06-20 Thread Milton Cezar Ribeiro
Hi there, I need to convert a raster (ascGrid) format to Shape files. Is there a way of to do that on R? Kind regards miltinho http://yahoo.com.br/oqueeuganhocomisso [[alternative HTML versio

[R-sig-Geo] From that, you can add in the necessary padding and attach it to the edge of the other component, as shown here.

2007-06-20 Thread Frederic
It also reports diagnostic messages with the help of a DiagnosticListener instance. http://zzwrong.hk/ ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo

[R-sig-Geo] spsample and NA

2007-06-20 Thread Agustin Lobo
It is often the case, at least with raster (grid) objects, that you are not interested on a part of the raster. For example because it's outside a non.rectangular region of study and/or because some types of terrain (some classes) are outside the scope of the study. In any case, those parts can be

Re: [R-sig-Geo] Fall into which voronoi? (Follow Up)

2007-06-20 Thread Roger Bivand
On Mon, 18 Jun 2007, Kitty Lee wrote: > Just want to follow up from my earlier post This is overlay() in the sp package for SpatialPolygons and SpatialPoints, and you will need to use the deldir package to provide polygons of bounded rather than infinite area - see the thread refered to her

Re: [R-sig-Geo] convert sp's Spatial Point Data Frame into Splancs data object

2007-06-20 Thread Roger Bivand
On Tue, 19 Jun 2007, KAM Tin Seong wrote: > Hi all, > > I have a set of point data in sp's Spatial Point Data Frame format and > would like to analyse this data using Splancs, can someone advice me how > should I go about doing it. By the way how to define a Splancs poly > object. You asked a