[R-sig-Geo] CRS format

Shaun Walbridge SWalbridge at esri.com
Thu Jul 30 05:53:36 CEST 2015


Adeela,

It from the look of your CSV, the data appears to be in geographic
(unprojected)
coordinate space. It's most likely WGS84[1], which has an EPSG code of
4326.
I'd start with '+init=epsg:4326' and see if that does the trick.

Cheers,
Shaun

1. https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84


-- 
Shaun Walbridge
GIS Developer





From:  R-sig-Geo <r-sig-geo-bounces at r-project.org> on behalf of adeela uaf
<adeela.uaf at gmail.com>
Date:  Wednesday, July 29, 2015 at 11:49 PM
To:  R-sig-geo Mailing List <R-sig-Geo at r-project.org>
Subject:  [R-sig-Geo] CRS format


Hi,
I want to project my data on a map. The data were taken from a town of
Faisalabad city in Pakistan. But I don't know how to place an 'epsg' value
for that. As for meuse data set the codes are:

data(meuse)
>coordinates(meuse)<-~x+y # convert to SPDF
>proj4string(meuse) <- CRS('+init=epsg:28992')

For my dataset
coordinates(mt)<-~XCORD+YCORD

how can I find the epsg code.
Regards,
Adeela



More information about the R-sig-Geo mailing list