mk4111/topo

Script: CSV to Array format

mk4111 opened this issue · 0 comments

Write a script to read in a CSV file (of this known format) and spit out data in suitable array format.
Will need the following:

  • work out cumulative length from length column,
  • output cumulative length and elevation in the form [[x1, y1], [x2, y2], ...[xn, yn]]
  • save data to mySQL (only update table where entries do not exist)