Accessing MapStand datasets in FME
How to access MapStand datasets in FME
- Download the ESRI ArcGIS Connector from https://hub.safe.com/publishers/safe/packages/esri-agol
- Open FME Form and drag the downloaded .fpkg file onto the canvas.
- From the top toolbar click Utilities > FME Options > Web Connections > Manage Services.
- Select ESRI ArcGIS Online OAuth (safe.esri-agol)
- Under client information, enter the following values
Client ID: UmISVqHjaESenBAX
Client Secret: tick ‘not required’
Redirect Url: http://localhost
Redirect Strategy: Loopback Interface Direct - Under Authorization Parameters tick ‘PKCE’ and enter the following values:
Enter Code Challenge Method: SHA-25
Code Verifier Length: 43
State Length: 16 - Click Apply - Close
- Click the large plus symbol - Add
- Under Web Service, select ESRI ArcGIS Online OAuth (safe.esri-agol) – the web service you have just configured.
- Give the connection a name, for example MapStand ESRI Web Feature Services.
- Click OK.
- ArcGIS Online will open in a web browser, asking for permission to connect. Sign in with your MapStand viewer account and click Allow.
- Click OK in the dialog box that shows that you have been successfully authorised.
- Click OK to exit FME Options.
- Add a Creator transformer and a FeatureReader transformer. Connect the Creator to the FeatureReader via the Initiator port.
- Open the FeatureReader and select ‘ESRI ArcGIS Feature Service’ as the format.
- Click ‘Parameters’
- Under Web Connection select the web connection you created in the previous steps.
- Under ‘Item Source’ select Groups.
- Click the three dots next to ‘Group’ and select MapStand_Test_Collaboration. Click OK.
- Click the three dots next to ‘Feature Service’ and select one of the MapStand ESRI Web Feature Services that appear. Click OK
- Click OK to come out of Parameters.
- Click the three dots next to Feature Types to Read and select the layer to read.
- Click OK.