stedsnavn: stedsnavn

stedsnavnR Documentation

stedsnavn

Description

Returns locality data from one, or a set of input coordinates (projection longlat, datum WGS84). Locality names are obtained from the Norwegian locality-name-base (Sentralt Stedsnavnregister). For each input coordinate, the function returns the locality name that is closest in distance. The maximum distance from a locality name is 2000 m.

Usage

stedsnavn(lat, lon)

Arguments

lat

a numerical value, or vector of numerical values, that specifies the latitude(s) in the input coordinates

lon

a numerical value, or vector of numerical values, that specifies the longitude(s) in the input coordinates

Value

dataframe with locality data

Examples

example_output <- stedsnavn(lat = c(69.57696, 70.44070, 62.259262), lon = c(24.840064, 23.186622, 12.734821))

jonpeder/Insektlok documentation built on July 16, 2022, 7:31 a.m.