[R-sig-Geo] incompatible projections/coordinate-systems?
Hans Ekbrand
hans at sociologi.cjb.net
Tue Nov 17 08:30:57 CET 2009
On Tue, Nov 17, 2009 at 12:21:25PM +1100, Michael Sumner wrote:
> The plot functions do not automatically transform between coordinate
> systems, they just assume the space is shared.
I see.
> so, assuming that all 3 coordinate systems have been recorded
> correctly in the .prj files this should be fine:
>
> plot(yta)
> plot(vagar, add = TRUE)
> sdn.reproj <- spTransform(sdn, CRS(proj4string(vagar)))
Michael, you just made my day!
Thanks!
--
Hans Ekbrand (http://sociologi.cjb.net) <hans at sociologi.cjb.net>
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20091117/50cf234d/attachment.bin>
More information about the R-sig-Geo
mailing list