weglide / bugtracker

WeGlide platform bug tracker.
https://www.weglide.org
11 stars 1 forks source link

Task turn point type changes after importing .cup file #205

Open MikeJaras opened 1 year ago

MikeJaras commented 1 year ago

Describe the bug When importing task from .cup files and then exporting it to .cup or .tsk, the turn point type changes. It looks fine on the map but in the export file it changes. Also the altitude of the turnpoint is changed.

example: imported .cup file has ObsZone=2,Style=1,R1=500m,A1=180 ObsZone=3,Style=3,R1=500m,Line=1

exported file get (R1) ObsZone=2,Style=1,R1=500m,A1=180 ObsZone=3,Style=3,R1=250m,A1=180,Line=1

imported .cup file has "Fornaboda Trav",,,5937.866N,01510.398E,95m,1,,,, "Karbenning Ka",,,6000.534N,01604.848E,101m,1,,,,

exported file get (altitude) "Fornaboda Trav",,,5937.866N,01510.398E,102m,1,,,, "Karbenning Ka",,,6000.534N,01604.848E,0m,1,,,,

in .tsk file the type is also changed.

To Reproduce

  1. Go to 'Task'
  2. Click on 'Upload'
  3. Drag a .cup file to import box
  4. Verify the task looks as expected on map
  5. Then click on the export button .cup and then on button .tsk
  6. Compare content

Expected behavior Content should be the same as in imported file and also same as on map.

**Device