[R-sig-Geo] eastings/northings to long/lat

2013-03-06 Thread Ross Ahmed
I have these eastings and northings: easting - c(626550, 583550, 584083, 584550, 518437) northing - c(169550, 172550, 173989, 169550, 160768) Is there a way to convert to long/lat in R? Attempts to code through googling have failed. Thanks Ross [[alternative HTML version deleted]]

Re: [R-sig-Geo] eastings/northings to long/lat

2013-03-06 Thread Michael Sumner
It's impossible to guess effectively from an infinite number of possible coordinate systems (though probably the units are metres), but if you have more information on where they come from, what they are, and even where *you are* it can start to narrow down likely candidates. More information

Re: [R-sig-Geo] eastings/northings to long/lat

2013-03-06 Thread Barry Rowlingson
If these are eastings and northings in the UK and based on the OSGB National Grid system, then you just use the code I told you about last week or so The only problem might be if you don't know what grid square they came from. On Wed, Mar 6, 2013 at 9:36 AM, Ross Ahmed

Re: [R-sig-Geo] eastings/northings to long/lat

2013-03-06 Thread vikram ranga
Hi Ross, which projection does it have?? I think it can be done using spTransform but for that you need to provide projection info. This code might be useful # need library (rgdal) and (sp). a-data.frame(easting,northing) coordinates(a)= ~easting + northing proj4string(a)-CRS(Need projection info