====== Creating Simulated Track Feeds for GES ======
- Create line feature class w/ whatever fields you want (e.g. unit type, name)
- Draw lines wherever you want tracks for each unit simulated
- Name each line
- Run "Generate Points Along Line"
- Calculate geometry for points to add x and y field, GCS_WSG_1984 coordinate system to get proper decimal degrees
- Add sequence field
- Calculate sequence autoIncrement()
rec=0
def autoIncrement():
global rec
pStart = 1 # adjust start value, if req'd
pInterval = 1 # adjust interval value, if req'd
if (rec == 0):
rec = pStart
else:
rec = rec + pInterval
return rec
- Run Table to Table to kick it out as a csv (use field map to remove unwanted fields)
- Use powershell to sort the csv by the sequential field Import-Csv .\MCO_LEO_TrackPoints.csv | Sort-Object seq | Export-Csv .\MCO_LEO_TrackPointsSort.csv -NoTypeInformation
- Load csv into geoevent simulator