Re: [R] spTransform longlat to utm

2012-10-18 Thread MacQueen, Don
r-sig-geo is a better place to ask this question. There doesn't appear to be anything wrong with how you are using spTransform(). "x" should be longitude "y" should be latitude More precisely, the first column of your matrix matrix(c(x,y), ncol=2) should be longitude, the second column la

[R] spTransform longlat to utm

2012-10-18 Thread Alexander Belousov
Dear all, I am trying to project my LongLat-maps to a plane. The ultimate purpose is to do a search of points in vicinity of other points using overlay-commands (sp) with radius in km. I am applying spTransform (package rgdal) and it gives my some curious results. An example. Let's take a poin