Problem: Feature classes exported from XY data layers with null coordinate values have zeros as coordinate values


In ArcMap XY data can be exported to a shapefile, or as a feature class in a geodatabase. If the coordinate values for some of XY data records are blank, that is the X or Y values are null, and you export to a shapefile, the exported shapefile will contain points with coordinate values of zero.


This is a known issue.

Solution or Workaround

Exclude XY data records with null coordinate values when exporting to a shapefile. You can export null records to a personal geodatabase.

  1. Open the XY data table.
  2. Select all the records containing valid X and Y coordinates, that is values that are not null.
  3. Export the selected records to a shapefile.