Return Value
The name of track id field.
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
Values from this field indicate which track features belong to.
If the table has a TrackID field, then you can renderer previous observations with different symbology and/or draw lines by connecting those observation locations.
Also refer to ArcGIS.Deskop.Mapping.StreamLayer.SetPreviousObservationsRenderer and ArcGIS.Deskop.Mapping.StreamLayer.SetTrackLinesRenderer for more details.
//Must be on QueuedTask using (var rfc = streamLayer.GetFeatureClass()) using (var rfc_def = rfc.GetDefinition()) { if (rfc_def.HasTrackIDField()) { var fld_name = rfc_def.GetTrackIDField(); } }
Target Platforms: Windows 11, Windows 10