[R] map projections

Roger Bivand rsb at reclus.nhh.no
Fri Apr 20 20:43:44 CEST 2001


On Fri, 20 Apr 2001, Bernie McConnell wrote:
> 
> Can you please tell me if there is R code for geographic projections?  
> ie lat,lon -> x,y metres.  I'm principally interested in Mercator and
> Lambert Equal Area Azimuthal.  Failing R code - code in any language!
> 
One good source is http://www.remotesensing.org/proj/ for the PROJ.4
software. Another is the mapproject program in GMT at
http://gmt.soest.hawaii.edu/. These are both external to R, but it seems
likely that PROJ.4 will form part of an R map package at some stage. You
didn't say which platform you use - both these are native Unix/Linux, but
at least GMT is available for NT too. While it would be possible to write
R code to do this, both of these sources are well-tried and so more likely
to work as expected.

Roger

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no
and: Department of Geography and Regional Development, University of
Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list