| wkt_set_srid | R Documentation | 
Modify well-known geometries
wkt_set_srid(wkt, srid, precision = 16, trim = TRUE) wkb_set_srid(wkb, srid) wkt_set_z(wkt, z, precision = 16, trim = TRUE) wkb_set_z(wkb, z) wkt_transform(wkt, trans, precision = 16, trim = TRUE) wkb_transform(wkb, trans)
| wkt | A character vector containing well-known text. | 
| srid | An integer spatial reference identifier with a user-defined meaning.
Use  | 
| precision | The rounding precision to use when writing (number of decimal places). | 
| trim | Trim unnecessary zeroes in the output? | 
| wkb | A  | 
| z | A Z value that will be assigned to every coordinate in each feature.
Use  | 
| trans | A 3x3 transformation matrix that will be applied to all coordinates in the input. | 
An unclassed well-known vector with the same type as the input.
wkt_set_srid("POINT (30 10)", 1234)
wkt_set_z("POINT (30 10)", 1234)
wkt_transform(
  "POINT (0 0)",
  # translation +12 +13
  matrix(c(1, 0, 0, 0, 1, 0, 12, 13, 1), ncol = 3)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.