View source: R/ogc_api_statfi.R
fetch_ogc_api_statfi | R Documentation |
Internal helper function to retrieve spatial data from Statistics Finland's OGC API. Handles pagination for large datasets and single requests with specified limits.
fetch_ogc_api_statfi(api_url, limit = NULL, crs)
api_url |
Character. The API URL to query. |
limit |
Integer or NULL. Number of features to retrieve. If NULL, fetches all available features (max 10000 per request). |
crs |
Integer. Coordinate Reference System (EPSG code). Options: 3067 (ETRS89 / TM35FIN), 4326 (WGS84). |
An sf
object containing the requested spatial data, or NULL if no data is retrieved.
Markus Kainu markus.kainu@kapsi.fi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.