WFS Access Locations
For those projects using WFS the data can be accessed in the project namespace at https://paleocore.org/<project_abreviation>/wfs/. Navigating to the WFS page in a browser will show summary data for that project including the datasets that are accessible and the fields that are provided. For the moment all WFS endpoints are read-only. Only authenticated users can view the WFS endpoints, and access to individual datasets depends on users have view permissions on the underlying data.
Accessing WFS data through QGIS
This guide is for QGIS version 3.34 or later.
The WFS endpoints are designed to be accessed from a GIS client such as QGIS. Using WFS, features can be loaded directly into QGIS for view and analysis. Again, WFS data are read-only, so edits and changes must be made online through the browser admin pages. Access to WFS data requires logging in with authentication tokens instead of user name and password. Users can view tokens in their user Dashboard. Adding WFS data to QGIS involves the following steps.
- Create a token authentication configuration in QGIS. In Preferences (MacOS) or Settings > Options (Windows) click the Authentication tab and then the plus button to create a new authentication configuration. Name the configuration as you like, and select "API Header" from the configuration type drop down list. Click the plus button next to the header editing panel to add an API Header entry. Enter "Authorization" (without quotes) for the Header key, and "Token <user_token>" (without quotes and with your actual user token string) to the Header value column. The result should look something like the image below,
- In the map view add the data. Layer > Add Layer > Add WFS / OGS API - Feature Layer ... In the Server Connections window click New and edit the Connection Details. Provide a name and the url to the WFS endpoint, e.g. https://paleocore.org/hrp/wfs/. From the authentication drow down list choose the API Header authentication configuration created in step 1. Under WFS options click "Ignore axis orientation". WFS sends coordinates in the sequence set by the coordinate reference system. For EPSG 4326 (WGS 84 datum with geographic coordinates) the coordinates are in latitude, longitude. By checking the box to ignore axis orientation, WFS will send the coordinates in x,y sequence (longitude, latitude), which is the sequence QGIS expects.
- With the Server Connection selected in the drop down, clicking Connect should cause QGIS to connect to the Paleo Core WFS server and to list the available datasets, like so,
- Select the layer(s) you wish to add and click the Add button on the bottom.