PlotLongLat: To plot using Geographic coordinate WGS84.

Description Usage Arguments Value See Also Examples

View source: R/PlotLongLat.R

Description

With this function it is possible to plot using Longitude and Latitude (Geographic coordinate WGS84).

Usage

1
PlotLongLat(longlat_df)

Arguments

longlat_df

Point name, Sexagesimal longitude and latitude as dataframe.

Value

leaflet map.

See Also

data.frame

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Point name
Pto <- "St1"

# Longitude
g <- -71
m <- 18
s <- 44.86475

# Value in sexagesimal
sexa_long <- sexagesimal(g, m, s)

# Latitude
g1 <- -33
m1 <- 12
s1 <- 27.11457

# Value in sexagesimal
sexa_lat <- sexagesimal(g1, m1, s1)

# Longitude and Latitude as data.frame
longlat_df <- data.frame(Pto,sexa_long,sexa_lat)

value <- PlotLongLat(longlat_df)
print(value)

GeodesiCL documentation built on May 25, 2021, 5:10 p.m.