GPX location simulation should support altitude / elevation

Originator:futuretap
Number:rdar://46639480 Date Originated:11-Dec-2018 10:29 PM
Status:Open Resolved:
Product:Developer Tools Product Version:10.1 (10B61)
Classification:Enhancement Reproducible:Always
 
Summary:
Using GPX files with a set of WPT elements is great to simulate specific location tracks. Unfortunately, the generated CLLocation objects lack the altitude (= 0.0). It would be great if the <ele> tag inside a <wpt> tag would be considered and taken as the CLLocation.altitude.

Steps to Reproduce:
Sample wpt element:

  <wpt lat="48.0" lon="11.2">
    <name>WP001</name>
    <ele>555.1</ele>
  </wpt>


Expected Results:
the generated CLLocation object has an altitude of 555.1 m.

Actual Results:
the generated CLLocation object has an altitude of 0.0 m.

Version:
10.1 (10B61)

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!