showWKT                package:rgdal                R Documentation

_S_h_o_w _W_e_l_l-_K_n_o_w_n _T_e_x_t _s_p_a_t_i_a_l _r_e_f_e_r_e_n_c_e _s_y_s_t_e_m _m_e_t_a_d_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Use GDAL/OGR spatial reference objects to convert a PROJ.4
     representation to a Well-Known Text representation.

_U_s_a_g_e:

     showWKT(p4s, file = NULL, morphToESRI = TRUE)

_A_r_g_u_m_e_n_t_s:

     p4s: A valid PROJ.4 string representing a spatial reference system

    file: if not NULL, a file name to which the output Well-Known Text
          representation should be written

morphToESRI: default TRUE, morph the WKT string to the representation
          used by ESRI

_V_a_l_u_e:

     A character string containing the WKT representation of the PROJ.4
     string.

_A_u_t_h_o_r(_s):

     Roger Bivand

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.remotesensing.org/gdal/ogr/osr_tutorial.html>

_S_e_e _A_l_s_o:

     'proj4string', 'CRS-class'

_E_x_a_m_p_l_e_s:

     cities <- readOGR(system.file("vectors", package = "rgdal")[1], "cities")
     readLines(system.file("vectors/cities.prj", package = "rgdal")[1])
     showWKT(proj4string(cities))
     showWKT("+init=epsg:28992")

