z_coord | R Documentation |
Convert numeric coordinates in character coordinates
z_coord(ncoord = NA, ccoord = NA, type)
ncoord |
Numeric coordinate |
ccoord |
Character coordinate |
type |
Lat / Lon |
Only one of both parameters ncoord (numeric) and ccoord (character) must be filled, the other one remaining NA. The type of coordinate (Lat or Lon) is compulsory.
The character coordinate must be organized in one string with 4 fields (degrees, minutes, seconds, direction) separated with blanks (space or tab). Within each field, no blanks are allowed to share the numeric value and the unit character. For the unit character, the only following letters are allowed: letter d/m/s. For direction, the only the following letters are allowed: N/n/W/w/S/s/E/e.
Example: "25d 18m 56.2s S"
Coordinates in characters
P. Chevallier - Jan 2019 / Nov 2020
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.