On 10-Mar-05 Greg Snow wrote: > [...] > I found a shapefile of time zones at: > http://openmap.bbn.com/data/shape/timezone/ > > A google search on the keywords timezone & shapefile finds a > few other possibilities. > >>> b) a function which, for each name in the list, returns >>> the TZ name > > The "maptools" package can read in the above shapefile and > convert it to a list of polygons and the "sgeostat" has an > "in.polygon" function to see if a point is in a given polygon. > > The following code worked for me: > [....]
Many thanks, Greg. That looks just the job, and I'll look into it. All best wishes, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 10-Mar-05 Time: 18:10:23 ------------------------------ XFMail ------------------------------ ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
