[R] from long/lat to UTM

(Ted Harding) Ted.Harding at nessie.mcc.ac.uk
Thu Mar 10 19:10:23 CET 2005


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




More information about the R-help mailing list