Add GPS Metadata Fields (Data Management)

Summary

Adds GNSS fields to a point feature class in a geodatabase.

Usage

  • The following fields will be added to the input feature class. Geodatabase domains will also be created and associated with specific fields.

    AttributeField aliasField nameField typeDomainNotes

    Position source type

    Position source type

    ESRIGNSS_POSITIONSOURCETYPE

    Short

    ESRI_POSITIONSOURCETYPE_DOMAIN

    • 0—Unknown
    • 1—User defined
    • 2—Integrated (System) Location Provider
    • 3—External GNSS Receiver
    • 4—Network Location Provider

    Receiver Name

    Receiver Name

    ESRIGNSS_RECEIVER

    String (50)

    Latitude

    Latitude

    ESRIGNSS_LATITUDE

    Double

    Longitude

    Longitude

    ESRIGNSS_LONGITUDE

    Double

    Altitude

    Altitude

    ESRIGNSS_ALTITUDE

    Double

    Horizontal Accuracy

    Horizontal Accuracy (m)

    ESRIGNSS_H_RMS

    Double

    Vertical Accuracy

    Vertical Accuracy (m)

    ESRIGNSS_V_RMS

    Double

    Fix Time

    Fix Time

    ESRIGNSS_FIXDATETIME

    Date

    UTC

    Fix Type

    Fix Type

    ESRIGNSS_FIXTYPE

    Short

    ESRI_FIX_TYPE_DOMAIN

    • 0—Fix not valid
    • 1—GPS
    • 2—Differential GPS
    • 4—RTK Fixed
    • 5—RTK Float

    Correction Age

    Correction Age

    ESRIGNSS_CORRECTIONAGE

    Double

    Station ID

    Station ID

    ESRIGNSS_STATIONID

    Short

    ESRI_STATION_ID_DOMAIN

    Range 0-1023

    Number of Satellites

    Number of Satellites

    ESRIGNSS_NUMSATS

    Short

    ESRI_NUM_SATS_DOMAIN

    Range 0-99

    PDOP

    PDOP

    ESRIGNSS_PDOP

    Double

    HDOP

    HDOP

    ESRIGNSS_HDOP

    double

    VDOP

    VDOP

    ESRIGNSS_VDOP

    Double

    Direction of travel

    Direction of travel (°)

    ESRIGNSS_DIRECTION

    Double

    Speed

    Speed (km/h)

    ESRIGNSS_SPEED

    Double

    Compass reading

    Compass reading (°)

    ESRISNSR_AZIMUTH

    Double

    Average horizontal accuracy

    Average Horizontal Accuracy (m)

    ESRIGNSS_AVG_H_RMS

    Double

    Average vertical accuracy

    Average Vertical Accuracy (m)

    ESRIGNSS_AVG_V_RMS

    Double

    Number of positions averaged

    Averaged Positions

    ESRIGNSS_AVG_POSITIONS

    Long

    Standard deviation

    Standard Deviation (m)

    ESRIGNSS_H_STDDEV

    Double

Syntax

AddGPSMetadataFields(in_point_features)
ParameterExplanationData Type
in_point_features

The input point feature class to be updated.

Feature Layer

Derived Output

NameExplanationData Type
updated_point_features

The updated point features.

Feature Layer

Code sample

AddGPSMetadataFields example (Python window)

The following Python window script demonstrates how to use the AddGPSMetadataFields tool in immediate mode.

import arcpy
arcpy.AddGPSMetadataFields_management(r'd:\data\fgdb.gdb\xydata')

Environments

Licensing information

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

Related topics