# ArcGIS REST Layer

**Overview**

Adding data from an ArGIS Online Map Service or Feature Service into a QGIS map project is fairly easy and quick in most instances. You'll first need to copy the URL to where the data is hosted. In ArcGIS Online at the bottom of the right column for most item detail pages, the URL is listed:

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2FlINPHgIUCPLTwG6riE4y%2Farcgisrest.JPG?alt=media&#x26;token=cf4d24c3-04f7-4db4-8ef4-51be9a79676b" alt=""><figcaption></figcaption></figure>

Add a polygon feature service on[`State boundary`](https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/US_State_Boundaries/FeatureServer) from ArcGIS Online. You can also add a [`Road layer` ](https://services.wygisc.org/HostGIS/rest/services/GeoHub/CensusAllRoads/MapServer)from ArcGIS Online following the same steps below:

1. `Layer` > `Add Layer` > `Add ArcGIS REST Server Layer.`These are web services published on ArcGIS Online or ArcGIS Server. You need the rest endpoint&#x20;

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2FfsLphzRJR8U9QQ0ba1Vn%2Farcgisrest.JPG?alt=media&#x26;token=5930c380-9853-4593-8651-31aade981ff9" alt=""><figcaption></figcaption></figure>

2. Select `New` under Server Connections
3. Type a name for the connection and copy and paste the [URL](https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/US_State_Boundaries/FeatureServer).
4. Click the *`Connect`* and a list of the available layers will appear:

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2FsNdbjOeU43ddnSSSdrJl%2Fstateboundaries.JPG?alt=media&#x26;token=0c5f9b81-0763-46cb-804a-98b17ef8bc29" alt=""><figcaption></figcaption></figure>

&#x20; 5\. Select the first layer in the list and click `Add` at the bottom of the window.&#x20;

6. Let's change up the symbology so we can see the data better. Right click on the state boundaries layer from the layer list > `Properties` > `Symbology` > select fill color transparent
7.

```
<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2Fxa0osdzmv0Tu0qhUVIL9%2Ftransparent.JPG?alt=media&#x26;token=15a37615-31c3-4412-9989-fb0571434e82" alt=""><figcaption></figcaption></figure>
```

8. `Select OK`
9. In the top drop down field select `Single Labels` and select the value `NAME`
10. Let's also add some labels to the map. Right click on the state boundaries layer > `Properties` > `Labels`

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2FkOIpbbfaKLzDPektblde%2Flabels.JPG?alt=media&#x26;token=9009e638-5bf1-4841-ad28-d2ba196637f4" alt=""><figcaption></figcaption></figure>
