Export Feature Attribute To ASCII (Spatial Statistics)

ArcGIS Pro 3.4 | | Help archive

Summary

Exports feature class coordinates and attribute values to a space-, comma-, tab-, or semicolon-delimited ASCII text file.

Illustration

Export Feature Attribute To ASCII tool illustration
Coordinates (X and Y) and user-specified feature attributes are written to an ASCII text file.

Usage

  • This tool can be used to export data for analysis with external software packages.

  • The X and Y coordinate values are written to the text file with eight significant digits of precision. Floating-point attribute values are written to the text file with six significant digits.

  • When null values are encountered for a field value, they will be written to the output text file as NULL.

  • Caution:

    When using shapefiles, keep in mind that they cannot store null values. Tools or other procedures that create shapefiles from nonshapefile inputs may store or interpret null values as zero. In some cases, nulls are stored as very large negative values in shapefiles. This can lead to unexpected results. See Geoprocessing considerations for shapefile output for more information.

Parameters

LabelExplanationData Type
Input Feature Class

The feature class from which the feature coordinates and attribute values will be exported.

Feature Layer
Value Field

The field or fields in the input feature class containing the values to export to an ASCII text file.

Field
Delimiter

Specifies how feature coordinates and attribute values will be separated in the output ASCII file.

  • SpaceFeature coordinates and attribute values will be separated by a space in the output. This is the default.
  • CommaFeature coordinates and attribute values will be separated by a comma in the output.
  • SemicolonFeature coordinates and attribute values will be separated by a semicolon in the output.
  • TabFeature coordinates and attribute values will be separated by a tab in the output.
String
Output ASCII File

The ASCII text file that will contain the feature coordinates and attribute values.

File
Add Field Names to Output

Specifies whether field names will be included as the first line in the output text file.

  • Checked—Field names will be written to the output text file.
  • Unchecked—Field names will not be written to the output text file. This is the default.
Boolean

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics