Skip to content
Prev 822 / 29559 Next

C API for sp classes?

On Tue, 7 Mar 2006, Edzer J. Pebesma wrote:

            
Is the overhead of learning and using the .Call() interface too great? As 
Edzer says, since the AttributeList can contain multiple vectors of 
possibly different types, it may be helpful to get a better grip on them 
that way. The geometry slots are more complicated, and would need more 
thought, though, but would be needed to make a raster, as Edzer shows.

Interesting issue. What would be returned? I guess in fact that a .C() 
interface with a more complicated R function to pick everything apart and 
check types is the way to go for prototyping. What would you use as 
baseline for comparison to see if your output is plausible?

Roger