Re: [R-sig-Geo] Error in if (dxsd > tolerance) { : missing value where TRUE/FALSE needed

2009-03-18 Thread David Wahlund
Hi I got the same error trying to do something similar. For me the problem was with the polygon data. One of the shapes was corrupted. My tip is to try and identify what polygon renders the error and confirm that it is OK. -David Wahlund On Wed, Mar 18, 2009 at 16:01, Wesley Roberts wrote

Re: [R-sig-Geo] Confused by overlay(x = "SpatialPixelsDataFrame", y = "SpatialPoints")

2009-01-15 Thread David Wahlund
On Thu, Jan 15, 2009 at 12:07, Edzer Pebesma wrote: > > > David Wahlund wrote: >> >> Hi, >> trying to extract by mask using sp package. >> Was surprised that I couldn't find 'overlay(x = >> "SpatialPixelsDataFrame", y = "SpatialPolyg

[R-sig-Geo] Confused by overlay(x = "SpatialPixelsDataFrame", y = "SpatialPoints")

2009-01-14 Thread David Wahlund
eem to be getting the index values of the pixels or something. The raster is float, as seen from the summary below. But the return from overlay() is ordered integer. Am I missing something? Thank you David Wahlund > summary(asc) Object of class SpatialPixelsDataFrame Coordinates: min max