• Blog posts

    Bio

    by David Crowther

    QGIS_Adding_Layer_DC_01.png

    Question:

    How do you add an ArcGIS Feature Server Layer to QGIS?

    Answer:

    To add an ArcGIS Feature Server Layer into your QGIS project follow the simple steps below:

    1 – Copy the Feature Server URL

    Access your ArcGIS Online Account and go to the Contents page. In this example we are using the Autodesk EMEA ArcGIS Online Account.

    QGIS_Adding_Layer_DC_02.jpg

    Choose the Layer that you wish to access and using the three dots … choose View Item Details to then open the full details for that layer page. In this example we have chosen the Shrewsbury Planning Apps Hosted Feature Layer.

    Check the Sharing options using SHARE button to ensure that only You, your Organisation or the Public can see your data (as required).

    QGIS_Adding_Layer_DC_03.png

    QGIS_Adding_Layer_DC_04.jpg

    Now, in the bottom right corner of the View Item Details page, find the URL link and choose the Copy URL button.

    QGIS_Adding_Layer_DC_05.jpg

    This will generate a URL for the ArcGIS Online Feature Server Layer e.g.

    https://services7.arcgis.com/9jgTYfernsGTre3w9i/arcgis/rest/services/shrewsbury_planningapps_hosted/FeatureServer

    2 – Create a Connection to ArcGIS Feature Layer in QGIS

    In QGIS, use the Data Source Manager window and choose ArcGIS Feature Server.

    QGIS_Adding_Layer_DC_06.jpg

    Then choose to create a New Connection and complete the details for the ArcGIS Feature Server Layer. In this case enter a Name and Paste in the URL that you Copied from ArcGIS Online.

    QGIS_Adding_Layer_DC_07.jpg

    Press OK to Save the New Connection and it will now be available in the Data Source Manager. Press Connect and it will list the ArcGIS Feature Server Layer/s.

    QGIS_Adding_Layer_DC_08.jpg

    To open the ArcGIS Feature Server Layer, select the Layer you wish to open choose ADD and the layer is then added to your QGIS Project.

    QGIS_Adding_Layer_DC_09.jpg

    If we apply a Thematic Style to the layer e.g. using the Progress field, we can now show the Planning Apps that have been Submitted, Passed and Declined.

    QGIS_Adding_Layer_DC_10.jpg

    If a User was to then update this data within ArcGIS, for example changing one of the Planning Apps from Submitted to Passed

    QGIS_Adding_Layer_DC_11.jpg

    Once that change is committed, if you then Refresh the View in QGIS, the Layer is then updated with the new attribute changes and the Style of the features update to reflect the change.

    QGIS_Adding_Layer_DC_12.jpg

    Tip – instead of connecting to individual Feature Server Layers you can also make a Connection to the root of your ArcGIS Online Service.

    For example if we make a new Connection and edit the URL to remove the name of the individual Feature Server Layer and point to the specific Rest Service e.g.

    QGIS_Adding_Layer_DC_13.jpg

    When we now Connect we see all the available Hosted Feature Layers.

    QGIS_Adding_Layer_DC_14.jpg

    So we can add even more data to the map!

    QGIS_Adding_Layer_DC_15.jpg

    You now have a live link between your ArcGIS Feature Server Layers and your QGIS project!