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.gdal.org/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")

