Accessing MapStand datasets in QGIS
How to access MapStand datasets in QGIS
Creating an Authentication Configuration
- Open QGIS and select Settings → Options.
- Select Authentication from the menu on the left.
- Click the large plus (+) button to add a new authentication configuration.
- Enter a name for the configuration, for example MapStand ESRI Authorisation.
- From the authentication method dropdown, select OAuth2 authentication.
- On the Config tab, set Grant flow to Authorization Code PKCE.
- Enter the following parameter values:
Parameter Value Request URL https://www.arcgis.com/sharing/rest/oauth2/authorizeToken URL https://www.arcgis.com/sharing/rest/oauth2/tokenRefresh token URL https://www.arcgis.com/sharing/rest/oauth2/tokenRedirect URL 127.0.0.1Redirect port 7070Client ID UmISVqHjaESenBAX - Under Advanced, tick Persist between launches and leave Access method set to Header.
- Click Save, then click OK to close the Options window
Creating the ArcGIS REST Server Connection
- Select Layer → Data Source Manager from the top menu.
- Select ArcGIS REST Server from the menu on the left.
- Click New to create a connection.
- Enter a Name for the connection, for example MapStand ESRI Web Services.
- In the URL field, enter:
https://services3.arcgis.com/TgmSOh52EhkjPUX4/arcgis/rest/services
- Under Authentication, use the Configurations tab to select the MapStand ESRI Authorisation configuration created in the previous steps.
- Click OK to save the connection.
Connecting and Adding Data to the Project
- In the Server Connections dropdown, select MapStand ESRI Web Services and click Connect.
- ArcGIS Online will open in your web browser. Sign in with your MapStand account to authorise the connection.
- Return to QGIS. The available services, layers and tables will appear in the Data Source Manager.
- Expand the required services, select one or more layers or tables, and click Add.
- Click Close to return to the project.
- The selected data will appear in the Layers panel, and spatial layers will be displayed in the map.