Trails and facilities in outdoor life

Trails and facilities (e.g. toilets, parking lots) in national parks or other nature areas.

Data quality 

See the Swedish EPA’s metadata catalogue for details: Friluftsliv: Leder och anordningar i skyddade omr√•den (Swedish).

License & conditions 

The data is licensed under Creative Commons Zero, CC0.

Our APIs and data are provided "as is" without guarantees concerning potential errors in the data, availability and performance of the API and similar. We reserve the right to block individual IP addresses or, alternatively, to completely shut down services in the event of obvious abuse.

License & conditions 

The data is licensed under Creative Commons Zero, CC0.

Our APIs and data are provided “as is” without guarantees concerning potential errors in the data, availability and performance of the API and similar. We reserve the right to block individual IP addresses or, alternatively, to completely shut down services in the event of obvious abuse.

Data model 

Outdoor life API data model

The current data model is very basic. There is ongoing work intending to refine this model and the attributes that the public data exposes from the underlying internal data.

Distributions 

This data is exposed though OGC Standard Compliant WMS and WFS services as well as ArcGIS REST API. The OpenApi specification and examples below use the ArcGIS REST API. (Even though the URL includes “WFS” it is not a WFS service.)

For more information regarding the OGC services and the data, see this document (Swedish).

WMS and WFS services 

The WMS service is available at

The WFS service is available at

ArcGIS REST API 

The OpenApi specification below describes two endpoints from the ArcGIS REST API that can be called to retrieve data for facilities (anordningar) and trails (leder) from the service.

For the complete documentation of this API, please refer to https://developers.arcgis.com/rest/services-reference/query-feature-service-layer-.htm and https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm

The API provides two means of filtering of data: attribute based (using the ‘where’ parameter) or spatial (using the ‘geometry’ and ‘spatialRel’ parameters).

Example usage 

The example below calls the two endpoints and filters out some data from “Stora Mosse” national park. The purpose could be to compare the data from service with OpenStreetMap data. When clicking on the features a popup is shown that displays some additional information for the feature.

This example uses the attribute based filtering. For an example using spatial filtering see https://developers.arcgis.com/labs/rest/query-a-feature-layer/.