GPS-Metadatenfelder hinzufügen (Data Management)

Zusammenfassung

Fügt einer Feature-Class in einer Geodatabase GNSS-Felder hinzu.

Verwendung

    Vorsicht:

    Mit diesem Werkzeug werden die Eingabedaten geändert. Weitere Informationen und Strategien zur Vermeidung unerwünschter Datenänderungen finden Sie unter Werkzeuge, die Eingabedaten ändern oder aktualisieren.

  • Einer Eingabe-Polyline- oder Polygon-Feature-Class werden die folgenden Felder hinzugefügt. Falls noch keine Geodatabase-Domänen vorhanden sind, werden diese ebenfalls erstellt und mit den geeigneten Feldern verknüpft.

    FeldaliasnameFeldnameDatentypDomäne

    Average horizontal accuracy (m)

    ESRIGNSS_AVG_H_RMS

    Double

    Average vertical accuracy (m)

    ESRIGNSS_AVG_V_RMS

    Double

    Worst horizontal accuracy (m)

    ESRIGNSS_WORST_H_RMS

    Double

    Worst vertical accuracy (m)

    ESRIGNSS_WORST_V_RMS

    Double

    Worst fix type

    ESRIGNSS_WORST_FIXTYPE

    Short

    ESRI_FIX_TYPE_DOMAIN

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

    Number of manual locations

    ESRIGNSS_MANUAL_LOCATIONS

    Long

  • Einer Eingabe-Point-Feature-Class werden die folgenden Felder hinzugefügt. Falls noch keine Geodatabase-Domänen vorhanden sind, werden diese ebenfalls erstellt und mit den geeigneten Feldern verknüpft.

    FeldaliasnameFeldnameFeldtypDomäne

    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

    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

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

    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

  • Einer Eingabe-Point-Feature-Class werden ebenfalls die folgenden Felder hinzugefügt, wenn der Parameter Versatz-Metadatenfelder einbeziehen aktiviert ist.

    FeldaliasnameFeldnameDatentypDomäne

    Offset method

    ESRISNSR_OFFSET_METHOD

    String

    ESRI_OFFSET_METHOD_DOMAIN

    • Azimuth-Azimuth
    • Distance-Angle
    • Distance-Azimuth
    • Distance-Distance
    • Azimuth-Azimuth-Backsight
    • Entfernung-Azimut-Versierwinkel
    • Distance-Distance-Backsight
    • User-Defined

    Rangefinder name

    ESRISNSR_OFFSET_DEVICE

    String

    GNSS Antenna height (m)

    ESRIGNSS_ANTENNA_HEIGHT

    Double

    Rangefinder height (m)

    ESRISNSR_OFFSET_LASER_HEIGHT

    Double

    Laser target height (m)

    ESRISNSR_OFFSET_LASER_TARGET_HT

    Double

    Magnetic declination (°)

    ESRISNSR_OFFSET_MAG_DEC

    Double

    CP1 Latitude

    ESRIGNSS_CP1_LATITUDE

    Double

    CP1 Longitude

    ESRIGNSS_CP1_LONGITUDE

    Double

    CP1 Ellipsoidal height (m)

    ESRIGNSS_CP1_ALTITUDE

    Double

    CP1 Horizontal accuracy (m)

    ESRIGNSS_CP1_H_RMS

    Double

    CP1 Vertical accuracy (m)

    ESRIGNSS_CP1_V_RMS

    Double

    CP1 Fix time

    ESRIGNSS_CP1_FIXDATETIME

    Date

    CP1 Fix type

    ESRIGNSS_CP1_FIXTYPE

    Short

    ESRI_FIX_TYPE_DOMAIN

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

    CP1 Correction age

    ESRIGNSS_CP1_CORR_AGE

    Double

    CP1 Station ID

    ESRIGNSS_CP1_STATIONID

    Short

    CP1 Number of satellites

    ESRIGNSS_CP1_NUMSATS

    Double

    CP1 PDOP

    ESRIGNSS_CP1_PDOP

    Double

    CP1 HDOP

    ESRIGNSS_CP1_HDOP

    Double

    CP1 VDOP

    ESRIGNSS_CP1_VDOP

    Double

    CP1 Average horizontal accuracy (m)

    ESRIGNSS_CP1_AVG_H_RMS

    Double

    CP1 Average vertical accuracy (m)

    ESRIGNSS_CP1_AVG_V_RMS

    Double

    CP1 Averaged positions

    ESRIGNSS_CP1_AVG_POSITIONS

    Short

    CP1 Standard deviation (m)

    ESRIGNSS_CP1_H_STDDEV

    Double

    CP1 Laser slope distance (m)

    ESRISNSR_CP1_SLOPE_DIST

    Double

    CP1 Laser inclination (°)

    ESRISNSR_CP1_INCLINATION

    Double

    CP1 Laser azimuth (°)

    ESRISNSR_CP1_AZIMUTH

    Double

    CP2 Latitude

    ESRIGNSS_CP2_LATITUDE

    Double

    CP2 Longitude

    ESRIGNSS_CP2_LONGITUDE

    Double

    CP2 Ellipsoidal height (m)

    ESRIGNSS_CP2_ALTITUDE

    Double

    CP2 Horizontal accuracy (m)

    ESRIGNSS_CP2_H_RMS

    Double

    CP2 Vertical accuracy (m)

    ESRIGNSS_CP2_V_RMS

    Double

    CP2 Fix time

    ESRIGNSS_CP2_FIXDATETIME

    Date

    CP2 Fix type

    ESRIGNSS_CP2_FIXTYPE

    Short

    CP2 Correction age

    ESRIGNSS_CP2_CORR_AGE

    Double

    CP2 Station ID

    ESRIGNSS_CP2_STATIONID

    Short

    CP2 Number of satellites

    ESRIGNSS_CP2_NUMSATS

    Double

    CP2 PDOP

    ESRIGNSS_CP2_PDOP

    Double

    CP2 HDOP

    ESRIGNSS_CP2_HDOP

    Double

    CP2 VDOP

    ESRIGNSS_CP2_VDOP

    Double

    CP2 Average horizontal accuracy (m)

    ESRIGNSS_CP2_AVG_H_RMS

    Double

    CP2 Average vertical accuracy (m)

    ESRIGNSS_CP2_AVG_V_RMS

    Double

    CP2 Averaged positions

    ESRIGNSS_CP2_AVG_POSITIONS

    Short

    CP2 Standard deviation (m)

    ESRIGNSS_CP2_H_STDDEV

    Double

    CP2 Laser slope distance (m)

    ESRISNSR_CP2_SLOPE_DIST

    Double

    CP2 Laser inclination (°)

    ESRISNSR_CP2_INCLINATION

    Double

    CP2 Laser azimuth (°)

    ESRISNSR_CP2_AZIMUTH

    Double

Parameter

BeschriftungErläuterungDatentyp
Eingabe-Features

Die zu aktualisierende Eingabe-Feature-Class. Die Eingabe kann eine Point-, Polyline- oder Polygon-Feature-Class sein.

Feature Layer
Versatz-Metadatenfelder einbeziehen
(optional)

Gibt an, ob Versatz-Metadatenfelder der Eingabe-Feature-Class hinzugefügt werden. Dieser Parameter gilt nur für Point-Feature-Classes.

  • Aktiviert: Versatz-Metadatenfelder werden der Eingabe-Feature-Class hinzugefügt.
  • Deaktiviert: Der Eingabe-Feature-Class werden keine Versatz-Metadatenfelder hinzugefügt.

Boolean

Abgeleitete Ausgabe

BeschriftungErläuterungDatentyp
Aktualisierte Features

Die aktualisierten Features.

Feature Layer

arcpy.management.AddGPSMetadataFields(in_point_features, {include_offset_fields})
NameErläuterungDatentyp
in_point_features

Die zu aktualisierende Eingabe-Feature-Class. Die Eingabe kann eine Point-, Polyline- oder Polygon-Feature-Class sein.

Feature Layer
include_offset_fields
(optional)

Gibt an, ob Versatz-Metadatenfelder der Eingabe-Feature-Class hinzugefügt werden. Dieser Parameter gilt nur für Point-Feature-Classes.

  • INCLUDE_OFFSET_FIELDSVersatz-Metadatenfelder werden der Eingabe-Feature-Class hinzugefügt.
  • EXCLUDE_OFFSET_FIELDSDer Eingabe-Feature-Class werden keine Versatz-Metadatenfelder hinzugefügt. Dies ist die Standardeinstellung.
Boolean

Abgeleitete Ausgabe

NameErläuterungDatentyp
updated_point_features

Die aktualisierten Features.

Feature Layer

Codebeispiel

AddGPSMetadataFields: Beispiel (Python-Fenster)

Das folgende Skript im Python-Fenster veranschaulicht, wie Sie die Funktion AddGPSMetadataFields verwenden.

import arcpy
arcpy.management.AddGPSMetadataFields(r'c:\data\fgdb.gdb\my_gps_tracks')

Lizenzinformationen

  • Basic: Ja
  • Standard: Ja
  • Advanced: Ja

Verwandte Themen