PROBLEM

A corrupt .zip file is downloaded when exporting a hosted feature layer as a shapefile in ArcGIS Online

Last Published: April 25, 2020

Description

In ArcGIS Online, a hosted feature layer exported as a shapefile is downloaded as a corrupt .zip file with a file size of 1 KB. For example, extracting the .zip file using WinRAR returns the following warning message:

Warning:
No archives found
Image of the warning message on WinRAR

Cause

  • The feature layer is corrupt, or has improper geometry.
  • The exported layers contain attachments, which are not supported by shapefiles.

Solution or Workaround

A workaround is to download the feature layer as a file geodatabase, and convert the feature class to a shapefile.

  1. In ArcGIS Online, export the feature layer as a file geodatabase. Refer to ArcGIS Online: Use layers for steps to do this.
  2. Download the exported layer from the designated folder.
    1. Click the Content tab, and navigate to the layer's designated folder.
    2. Click the layer to open the item details page.
    3. Click Download.
  3. Extract the downloaded .zip file to a folder.
  4. In the Catalog pane, add a connection to the folder containing the file geodatabase in ArcGIS Pro. Refer to ArcGIS Pro: Connect to a folder for steps to do this.
  5. Expand the folder, and drag the feature class onto the map.
  6. Convert the feature class to a shapefile in ArcGIS Pro using the Feature Class to Shapefile tool.
    1. Open the ArcToolbox window, and navigate to Conversion Tools > To Shapefile > Feature Class to Shapefile.
    2. For Input Features, select the feature class to be copied as a shapefile from the drop-down list.
    3. For Output Folder, browse for the folder in which the output shapefile is saved.
Image of the Feature Class to Shapefile pane
  1. Click Run.

Article ID: 000022635

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options