Skip to content

time slot in space-time sparse data frame (spacetime package)

1 message · Edzer Pebesma

#
Hi Jochen,
On 07/25/2011 06:54 PM, Jochen Albrecht wrote:
this has been improved; updating the package should be sufficient.
This is indeed a bug; it will "work" in the next version (now in svn).
The bug occurs when no duplicate locations or time points are present;
if this is the case, coercion to the sparse or full grid representations
may not give what you want, it does not interpolation / aggregation /
density or whatever analysis you have in mind.

The following will work, but as you see, object sizes explode for the
STFDF representation if the data ARE irregular.
43236 bytes
51404 bytes
8031244 bytes

You may want, as an initial analysis, use the method over (see the
over.pdf vignette) to overlay your data with a regular ST layout, and
e.g. count or average something from your irregular data in the new ST
"blocks" you define.
That depends on your soft- and hardware setup and the interpolation you
have in mind.

There is also a vignette describing how to work on subsets of larger
tables in a PostGIS data base -- admittedly a proof of concept work, but
it might be provide a starting point in case capacity is your problem.

Your email has been unanswered for a month; if you're still trying this
path (or perhaps found another), I'm interested to hear your experience.

Best regards,