Re: [R] from long/lat to UTM

From: Ted Harding <Ted.Harding_at_nessie.mcc.ac.uk>
Date: Fri 11 Mar 2005 - 05:10:23 EST


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) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861
Date: 10-Mar-05                                       Time: 18:10:23
------------------------------ XFMail ------------------------------

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Mar 11 13:38:30 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:42 EST