sharpshootR (version 1.6)

LL2PLSS: PLSS2LL

Description

Uses lattitude and longitude coordinates to return the PLSS section geometry from the BLM PLSS web service.

Usage

LL2PLSS(x, y)

Arguments

x

longitude coordinates

y

lattitude coordinates

Value

list of of PLSS codes and coordinates.

Details

This function takes xy coordinates and returns the PLSS section geometry to the quarter-quarter section.

See Also

PLSS2LL, formatPLSS

Examples

Run this code
# NOT RUN {
if(requireNamespace("curl") &
   curl::has_internet() &
   require(sp)) {
  
  # create coordinates
x <- -115.3823 
y <- 48.88228

# fetch PLSS geometry for these coordinates
p.plss <- LL2PLSS(x, y)

# plot geometry
plot(p.plss$geom)
  
}

# }

Run the code above in your browser using DataLab