Publishers create feature, tiles, and scene layers to be hosted on an ArcGIS Enterprise portal so they can share them with others. You can use the hosted layers shared with you in maps, apps, and scenes, or use the hosted layers in ArcGIS Desktop to enhance your maps or perform analyses. Developers can also include the URL to the hosted layers in web and desktop apps they build.
If the hosted feature layer is configured to allow it, you can export the data from your layer to a CSV file, shapefile, GeoJSON file, or file geodatabase.
To view the hosted layers you have access to and discover their URLs for use in web apps, sign in to your organization and click Content. Each of the tabs within the Content list all the items you can access. Click any hosted layer item to be taken to a page with the item's description and URL. You can copy the URL and use it in your code when you create an app with the ArcGIS Web or mobile APIs.
As an alternative to copying the URL, you can click Open in Map Viewer or Open in Scene Viewer. Once opened, you can build a map or scene that you can save and use in a web app.
Use hosted layers in ArcMap
You can use the features and tiles hosted on your portal in ArcMap. To do so, you must first connect ArcGIS Desktop to your portal. See Use ArcMap with your portal for instructions.
Once you have connected to your portal, open the Catalog window in ArcMap and double-click My Hosted Services. If you haven't yet logged in to the portal website, you are prompted to do so. You can then see the list of services available to drag to the ArcMap table of contents.
Use hosted layers in ArcGIS Pro
You can use the features, tiles, and scenes hosted on your portal in ArcGIS Pro. To do so, click Portal in the Catalog pane of your ArcGIS Pro project. You can add layers from My Content or groups to which you belong, or search for publicly available layers. Choose the layer you want to add and drag it onto your map or scene.
You must be signed in to your organization to access hosted layers from the Catalog pane.
Export data from hosted feature layers
You can export CSV files, a Microsoft Excel file, shapefiles, a file geodatabase, GeoJSON files, or feature collections from a hosted feature layer if one of the following is true:
- You own the features.
- You are a portal administrator.
- You aren't the hosted feature layer owner or the administrator, but the owner or administrator has configured the hosted feature layer to allow others to export the data.
This setting can be changed on the item page Settings tab by checking the Allow others to export to different formats check box under Export Data.
Only nonspatial attributes are exported to a CSV or Excel file when you export a line or polygon layer from a hosted feature layer. When you export a point layer to a CSV or Excel file, latitude and longitude values for the points are exported.
All exported items are stored in the root folder of My Content.
Follow these steps to export data from the details page of a hosted feature layer or hosted feature layer view:
- Sign in and open the item page for the features you want to export.
- If you own the feature layer, click Content > My Content and click the item title.
- If you do not own the feature layer, search for the layer, and click the feature layer name in the search results list.
- If you want to export individual layers, go to the Layers section of the Overview tab, click Export To under the layer you want to export, and choose the format you want to export. If you want to export all the layers in the hosted feature layer, click the Export Data button on the Overview tab and choose the format you want to export.
- Export to Shapefile—Creates a compressed file (.zip) containing a shapefile for each layer of your content that you export. You can download the file and save it to your computer.
- Export to CSV file—Creates a comma-separated values file when you export from a layer. You can open the file or save it to your computer. If you export all layers to a CSV file, a CSV collection is created, which is a .zip file containing one CSV file per layer. You can download the .zip file and save it to your computer.
- Export to Excel—Creates a Microsoft Excel spreadsheet. You can open the file or save it to your computer. If you export all layers to Excel, each layer will be a separate sheet in the spreadsheet.
- Export to FGDB—Creates a .zip file containing a file geodatabase. The file geodatabase contains a feature class. You can download the .zip file and save it to your computer. Note that the .zip file uses the name you specify for the Title, but the geodatabase name is randomly generated, and the feature class has the same name as the layer you exported.
- Export to GeoJSON—Creates a GeoJSON file containing definitions for all layers you export. You can download the file and save it to your computer.
- Export to Feature Collection—Creates a feature collection item you can open in Map Viewer.
Choose Generalize features for web display to optimize the layer for web apps. You can only generalize features from layers published in the WGS 1984 Web Mercator (Auxiliary Sphere) coordinate system. Note that exported feature collections that are generalized for web display do not work in desktop and mobile apps.
Alternatively, choose Keep original features if you need to maintain all the precision in your data, or if you intend to use the feature collection in desktop or mobile apps.
If you have privileges to perform spatial analysis, you can also export data from a hosted feature layer or hosted feature layer view that has export enabled, or export data from a feature collection using the Extract Data tool in Map Viewer.
Use hosted WFS layers in a map
When you add a hosted WFS layer to Map Viewer, you are prompted to add individual layers.
Once added to Map Viewer, you can configure each individual layer. For example, you can change styles, create labels, and configure pop-ups on each layer you added to the map. You can save the map that contains the layers from the hosted WFS layer, and the configurations will be saved in the map. When saving configurations to each individual layer, you will be prompted to create a new WFS layer. This new WFS layer is a reference to the hosted WFS layer. All configurations are saved to the new layer and not the hosted layer itself.