Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounding of Lon/Lat in threshold.xml #144

Open
gooneybird47 opened this issue Jun 28, 2021 · 1 comment
Open

Rounding of Lon/Lat in threshold.xml #144

gooneybird47 opened this issue Jun 28, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@gooneybird47
Copy link

FGA 0.0.33

The lon/lat data in exported threshold.xml's is being rounded to the nearest 0
Also leading 0's in rwy are being removed.

Original EHBK.threshold.xml (modified)

<?xml version='1.0' encoding='ISO-8859-1'?>
<PropertyList>
  <runway>
    <threshold>
      <lon>5.758143</lon>
      <lat>50.899946</lat>
      <rwy>03</rwy>
      <hdg-deg>32.55</hdg-deg>
      <displ-m>250.0</displ-m>
      <stopw-m>0.0</stopw-m>
    </threshold>
    <threshold>
      <lon>5.779228</lon>
      <lat>50.920775</lat>
      <rwy>21</rwy>
      <hdg-deg>212.56</hdg-deg>
      <displ-m>250.0</displ-m>
      <stopw-m>0.0</stopw-m>
    </threshold>
  </runway>
</PropertyList>

FGA EHBK.threshold.new.xml

<?xml version="1.0"?>
<PropertyList>
  <runway>
    <threshold>
      <lon>5.758140</lon>
      <lat>50.899950</lat>
      <rwy>3</rwy>
      <hdg-deg>32.55</hdg-deg>
      <displ-m>250</displ-m>
      <stopw-m>0.0</stopw-m>
    </threshold>
    <threshold>
      <lon>5.779230</lon>
      <lat>50.920770</lat>
      <rwy>21</rwy>
      <hdg-deg>212.56</hdg-deg>
      <displ-m>250</displ-m>
      <stopw-m>0.0</stopw-m>
    </threshold>
  </runway>
</PropertyList>
@Portree-Kid Portree-Kid added the bug Something isn't working label Jun 28, 2021
@Portree-Kid Portree-Kid added this to the 0.0.35 milestone Jun 29, 2021
@BecOzIcan
Copy link
Collaborator

Same issue actually exist on all coordinates, I believe we are one decimal digit short in the values persisted

Example of a basic node below

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants