- search_string
Character or NULL. A search string to filter place names
(e.g., "kainu"
). The search is case-insensitive. If NULL
(default), no search filter is applied, and all place names are retrieved
(subject to the limit
parameter).
- collection
Character or NULL. The name of collection for places, place names and map names of the
Geographic Names Register provided by the National Land Survey of Finland where the search if performed from.
Supported values are placenames
, mapnames
, and placenames_simple
- crs
Numeric or Character. The coordinate reference system (CRS)
for the output data, specified as an EPSG code. Supported values are
3067
(ETRS-TM35FIN, default) and 4326
(WGS84). The returned
sf
object will be transformed to this CRS.
- limit
Numeric. The maximum number of features to retrieve in a single
API request. Defaults to 10. Set to NULL
to fetch all available
features (potentially using pagination for large datasets).
- bbox
Character or NULL. A bounding box to filter the data, specified as
a string in the format "minx,miny,maxx,maxy"
(e.g.,
"24.5,60.1,25.5,60.5"
). Coordinates must be in the same CRS as the
API (EPSG:4326). If NULL
(default), no spatial filter is applied.
- custom_params
Character or NULL. Additional query parameters to append
to the API URL, specified as a single string (e.g.,
"attribute='value'"
). If NULL
(default), no additional
parameters are included.
- api_key
Character. API key for authenticating with the Geographic Names
OGC 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).