Skip to content

Import custom projection in R

1 message · Barry Rowlingson

#
On Thu, Aug 29, 2013 at 11:46 AM, Pan <pan.sapiens.it at gmail.com> wrote:
proj4 strings are case-sensitive:

 > p="+proj=UTM +datum=WGS84 +lon_0=17 +x_0=600000 +y_0=10000000"
 > CRS(p)
 Error in CRS(p) : unknown projection id
 > p="+proj=utm +datum=WGS84 +lon_0=17 +x_0=600000 +y_0=10000000"
 > CRS(p)
 CRS arguments:
  +proj=utm +datum=WGS84 +lon_0=17 +x_0=600000 +y_0=10000000 +ellps=WGS84
 +towgs84=0,0,0
Just open the .prj file in a text editor (such as notepad on Windows)
- it is plain text.

Barry