Connecting Nexus with QGIS
This tutorial shows how data from Nexus can easily be visualized in QGIS, an open source Geographic Information System. Connecting Nexus to QGIS is useful for performing advanced geographic analysis and making custom map visualizations using the data in Nexus. This avoids storing data locally in files that may get outdated soon and take up a lot of space.
Info
To connect QGIS to Nexus, you need a Nexus Web API token. Not the case? Check the API Basics first before continuing here.
There are two methods to load Nexus data in QGIS, which are both described below. Method 1 is generally recommendable because it allows for much more customization. Method 2 is mostly useful to quickly achieve results.
Method 1: add WFS 'getfeature' link¶
Create a specific WFS link by manually configuring it (see WFS Service) or by exporting a configured link from the
Data sharing menu in Nexus Webviewer (the latter is only available for users with the Data Consumer role).
Open QGIS, and go in the menu bar to Layer > Add Layer > Add Vector Layer.
For Source Type, choose Protocol: HTTP(S), cloud, etc.. Then choose Type: GeoJSON and paste the WFS link in the URI field.
Finally, click Add.
Info
By adding data to QGIS using this method instead of first downloading the WFS link response and loading that, you can have the data automatically refresh without needing to load it again manually.
Method 2: add WFS 'getcapabilities' link¶
Open QGIS, and in the browser panel on the left do right-click on WFS / OGC API - Features, then choose New Connection.

Enter 'Nexus' in the Name field and enter the full link to the Nexus WFS service as URL:
https://nexus.stellaspark.com/api/v1/wfs/?world={world_alias}&request=getcapabilities&token={your_token}

QGIS will now display a list with available feature types. Simply double-click on any feature type to load it as a maplayer in QGIS!
