[Rspatial-devel] sp_0.9-94.tar.gz

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Feb 2 15:58:33 CET 2012


On 01/02/2012 07:59, Prof Brian Ripley wrote:
> On 01/02/2012 07:51, Edzer Pebesma wrote:
>> The new sp_ version on /incoming hopefully has fixed this issue.
>
> Seems to have, thanks: updated on CRAN. A complete re-test will appear
> in 24 hours.

And now I've had a chance to look at those runs, there seems a new 
problem with the indirect dependency landsat:

 > ### Name: georef
 > ### Title: Simple image-matching georeferencing function.
 > ### Aliases: georef
 > ### Keywords: spatial utilities
 >
 > ### ** Examples
 >
 > # to use for georeferencing
 > data(nov3)
 > data(july3)
 > july.shift <- georef(nov3, july3, maxdist=50) # match july to november
 > july3.corr <- geoshift(july3, padx=50, pady=50, july.shift$shiftx, 
july.shift$shifty)
Error in checkSlotAssignment(object, name, value) :
   "coords" is not a slot in class “SpatialGridDataFrame”
Calls: geoshift -> @<- -> slot<- -> checkSlotAssignment

Brian


> Brian
>
>> Best wishes,& thanks,
>>
>> On 02/01/2012 08:08 AM, Prof Brian Ripley wrote:
>>> On 31/01/2012 19:57, Edzer Pebesma wrote:
>>>> CRAN masters,
>>>>
>>>> I uploaded sp_0.9-94.tar.gz to /incoming on CRAN.
>>>>
>>>> I checked it succesfully against 78 out of the 86 packages that depend
>>>> on sp (thanks to Uwe's help with the script); the others 6 I couldn't
>>>> check because of other complex dependencies, too complex for me.
>>>>
>>>> The major change is that to class SpatialGrid, which no longer is() a
>>>> SpatialPixels, but needs explicit coercion to become so.
>>>>
>>>> Best regards,
>>>
>>> Did you try pgirmess? It looks to me as if it has been affected:
>>>
>>>> ### Name: rwhatpoly
>>> ...
>>>> # extraction
>>>> rwhatpoly(meuse.grid,SP,att=4) # get the number of pixels of each soil
>>> category (column) in each polygon (rows)
>>> Error in table(polyID, sgdf at data[, att], useNA = "ifany") :
>>> all arguments must have the same length
>>>
>>> Everything else looks fine: the output from some of your examples will
>>> change in 2.15.0 (the number of NAs is reported by summary() as an
>>> integer).
>>>
>>> Brian
>>>
>>
>
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the Rspatial-devel mailing list