Skip to contents

Find the quarter section(s) closest to provided coordinates. Returns the legal land description

Usage

search_coord(long, lat)

Arguments

long

Longitude in decimal degrees

lat

Latitude in decimal degrees

Value

A tibble of the latitude and longitude coordinates, corresponding legal land descriptions, and distance in metres from the provided coordinates to the centre of the closest quarter section

Examples

search_coord(long = c(-101.4656, -99.99768), lat = c(51.81913, 49.928926))
#> # A tibble: 2 × 4
#>   legal          long   lat  dist
#>   <chr>         <dbl> <dbl>   [m]
#> 1 NE-11-33-29W1 -101.  51.8  48.4
#> 2 NW-15-11-19W1 -100.  49.9 329. 
x <- data.frame(long = c(-101.4656, -99.9976), lat = c(51.81913, 49.92892))
search_coord(long = x$long, lat = x$lat)
#> # A tibble: 2 × 4
#>   legal          long   lat  dist
#>   <chr>         <dbl> <dbl>   [m]
#> 1 NE-11-33-29W1 -101.  51.8  48.4
#> 2 NW-15-11-19W1 -100.  49.9 327.