[R-sig-Geo] newbie bbox type question
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Mon May 30 07:38:17 CEST 2011
Hi Erin,
it is not clear to me whether your goal is to write the data with
writeOGR, or create spatio-temporal data objects and analyse / display
them. OGR (and writeOGR) intrinsically know nothing about time, so
having time as, say attribute columns is the only thing you could do
(AFAIK).
If you want to create space-time objects in R, you might want to try the
functions in package spacetime (e.g. STFDF(), or stConstruct()); when
you're new to the package, start by reading its vignette.
bbox is not something that can be set; coordinates can be set but only
refer to spatial coordinates. The Spatial* objects created by
coordinates<- are a building block for space-time objects.
Hth,
On 05/29/2011 09:16 PM, Hodgess, Erin wrote:
> Dear R Sig Geo People:
>
> I have a large data frame which includes dates and times as columns.
>
> I want to have one map (via writeOGR) which has the whole thing, and then have several maps by days.
>
> However, I want the whole area as defined by the entire data set to show every day.
>
> I looked at bbox but I can't set a bbox.
>
> How would I set the coordinates, please?
>
> Maybe use the coordinates function with the big set structure, please?
>
> Thanks,
> Have a great weekend,
> Sincerely,
> Erin
>
>
> Erin M. Hodgess, PhD
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: hodgesse at uhd.edu
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics e.pebesma at wwu.de
More information about the R-sig-Geo
mailing list