- search_string
Character. The place name or street address to geocode
(e.g., "Suomenlinna"
or "Mannerheimintie 100, Helsinki"
).
- source
Character. The data source to search in. Must be one of:
"interpolated-road-addresses"
(default), "geographic-names"
,
"addresses"
, "mapsheets-tm35"
, or "cadastral-units"
.
- crs
Character. The coordinate reference system (CRS) for the
output data, specified as an EPSG code. Must be one of "EPSG:3067"
(ETRS-TM35FIN, default) or "EPSG:4326"
(WGS84).
- lang
Character. The language for the API response labels. Must be one of
"fi"
(Finnish, default), "sv"
(Swedish), or "en"
(English).
- size
Numeric or NULL. The maximum number of results to return. Must be a
positive integer. If NULL
(default), the API’s default size is used.
- options
Character or NULL. Additional options to pass to the API, specified
as a single string (e.g., "focus.point.lat=60.1699&focus.point.lon=24.9384"
).
If NULL
(default), no additional options are included. See the NLS
geocoding API documentation for valid options.
- api_key
Character. API key for authenticating with the NLS geocoding API.
Defaults to the value stored in options(geofi_mml_api_key)
. You can
obtain an API key from the National Land Survey of Finland website (see
https://www.maanmittauslaitos.fi/en/rajapinnat/api-avaimen-ohje).