ArcGIS Hub provides file downloads for several item types that are added to a site’s content library. Various file formats are available depending on the type of item. For example, spatial data (feature layers, feature services, and map services) are supported in .csv, .kml, shapefile, and GeoJSON formats. You can also enable support for file geodatabase downloads.
When someone requests a download on an item's preview page, one of the following occurs:
- For hosted layers, ArcGIS Hub checks for changes before refreshing the cache. If a dataset has been changed or updated since the cache was made, ArcGIS Hub refreshes the cache. Otherwise, the download comes from the previous cache.
- For services hosted elsewhere (for example, on-premises servers), ArcGIS Hub refreshes the cache if it has been more than 24 hours since the last refresh. If it is within the 24-hour period, the user gets the data as it was last cached.
To manually reset the data cache, see Update content.
To make private data available for download on the item's content views, an ArcGIS Online administrator must enable the Export data setting.
The Local Projections setting checks whether the spatial reference of the content is different from the default EPSG:4326. When enabled, public content is downloaded in the custom projection. To enable this setting, see Data.
For private downloads, ArcGIS Hub automatically uses the spatial reference that is set on the underlying service.
Additional support for download files
ArcGIS Hub provides several additional download formats that can be enabled by an ArcGIS Online administrator or item owner. All vector datasets are automatically available for download as .csv files, .kml files, and shapefiles and are accessible in the GeoJSON and GeoService APIs.
For spatial datasets, you can on the item details page in ArcGIS Online to add file geodatabase as an available download format in the item's content view. For more information, see Enable file geodatabase download.
This setting is recommended for public data to hasten the download process. For nonhosted feature services, add custom distributions to the service's structured metadata.
Excel and feature collection files
Private content can be downloaded as Excel files or feature collection files. This is because ArcGIS Hub uses a service’s export function when downloading private content. The same formats are included in the export options on the item's content view as a download option.
Additional resource availability
Site owners and core team members can make files or documents that are not supported natively in ArcGIS Online, such as CAD files or nonhosted file and geodatabases, accessible on the item's content view. Additional resource links are shown on the side panel when clicking the download button .
To add an additional resource, open the item's details page in ArcGIS Online, click Metadata, choose Distribution, and choose Online Resources. Provide the URL and ensure that the file has a name and that the Function parameter is set to Download.