| Label | Explanation | Data Type |
Input Point Features
| The input point feature class to be updated. | Feature Layer |
Derived Output
| Label | Explanation | Data Type |
| Updated Point Features | The updated point features. | Feature Layer |
Adds GNSS fields to a feature class in a geodatabase.
The following fields will be added to the input point feature class. The geodatabase domains will also be created, if they do not already exist, and associated with specific fields.
| Field alias | Field name | Field type | Domain |
|---|---|---|---|
Position source type | ESRIGNSS_POSITIONSOURCETYPE | Short | ESRI_POSITIONSOURCETYPE_DOMAIN
|
Receiver Name | ESRIGNSS_RECEIVER | String (50) | |
Latitude | ESRIGNSS_LATITUDE | Double | |
Longitude | ESRIGNSS_LONGITUDE | Double | |
Altitude | ESRIGNSS_ALTITUDE | Double | |
Horizontal Accuracy (m) | ESRIGNSS_H_RMS | Double | |
Vertical Accuracy (m) | ESRIGNSS_V_RMS | Double | |
Fix Time | ESRIGNSS_FIXDATETIME | Date | |
Fix Type | ESRIGNSS_FIXTYPE | Short | ESRI_FIX_TYPE_DOMAIN
|
Correction Age | ESRIGNSS_CORRECTIONAGE | Double | |
Station ID | ESRIGNSS_STATIONID | Short | |
Number of Satellites | ESRIGNSS_NUMSATS | Short | ESRI_NUM_SATS_DOMAIN Range: 0-99 |
PDOP | ESRIGNSS_PDOP | Double | |
HDOP | ESRIGNSS_HDOP | Double | |
VDOP | ESRIGNSS_VDOP | Double | |
Direction of travel (°) | ESRIGNSS_DIRECTION | Double | |
Speed (km/h) | ESRIGNSS_SPEED | Double | |
Compass reading (°) | ESRISNSR_AZIMUTH | Double | |
Average Horizontal Accuracy (m) | ESRIGNSS_AVG_H_RMS | Double | |
Average Vertical Accuracy (m) | ESRIGNSS_AVG_V_RMS | Double | |
Averaged Positions | ESRIGNSS_AVG_POSITIONS | Long | |
Standard Deviation (m) | ESRIGNSS_H_STDDEV | Double |
| Label | Explanation | Data Type |
Input Point Features
| The input point feature class to be updated. | Feature Layer |
| Label | Explanation | Data Type |
| Updated Point Features | The updated point features. | Feature Layer |
arcpy.management.AddGPSMetadataFields(in_point_features)
| Name | Explanation | Data Type |
in_point_features | The input point feature class to be updated. | Feature Layer |
| Name | Explanation | Data Type |
| updated_point_features | The updated point features. | Feature Layer |
The following Python window script demonstrates how to use the AddGPSMetadataFields function.
import arcpy
arcpy.AddGPSMetadataFields_management(r'c:\data\fgdb.gdb\my_gps_tracks')