User Tools

Site Tools


gis:ges_track_sim

[Start] [Cat] [About] [Syntax] [Scraps]


Creating Simulated Track Feeds for GES

  1. Create line feature class w/ whatever fields you want (e.g. unit type, name)
  2. Draw lines wherever you want tracks for each unit simulated
  3. Name each line
  4. Run “Generate Points Along Line”
  5. Calculate geometry for points to add x and y field, GCS_WSG_1984 coordinate system to get proper decimal degrees
  6. Add sequence field
  7. 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
  8. Run Table to Table to kick it out as a csv (use field map to remove unwanted fields)
  9. 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
  10. Load csv into geoevent simulator
gis/ges_track_sim.txt · Last modified: 2024/11/14 02:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki