Navdata coordinates to UID

  • Hi,
    I'm working on my FS4 - Sayintentions Bridge, and planned to make a Simbrief integration, at least for the FROM/TO page on the CDU (now for the A320).
    I'm very close to the aactual UID conversion, but since some rounding problems and different navigation data, I can't make it work properly. Even 1 bit error, and the CDU can't give me the Departure and Arrival runways.
    Currently I realised that the logic is a 24+24+16 bit data. Lon/Lat/Flag.
    Is there any chance that you can give me the original source for your map? And maybe the distortion for the mercator map?

    Some examples from the conversions:

    EBBR (Brussels)

    • Aerofly FS4 Original (main.mcf): 83305EAA8BAD0500 (Baseline / Reference)
    • Internal ECEF + 12th Degree: 83305EAA8BB50500 (Difference: +8)
    • Real-World AIP / Navigraph + 12th Degree: 83305EAA8BB50500 (Difference: +8)
    • External Database (GADB) + 12th Degree: 833304AA8BE20500 (Difference: +53)
    • Pure Web Mercator (Standard): 833304AA2FB30500 (Difference: -23546)

    EKCH (Copenhagen)

    • Aerofly FS4 Original (main.mcf): 88FFF3B02FEF0500 (Baseline / Reference)
    • Internal ECEF + 12th Degree: 88FFF3B030000500 (Difference: +17)
    • Real-World AIP / Navigraph + 12th Degree: 88FFECB0300B0500 (Difference: +28)
    • External Database (GADB) + 12th Degree: 88FFF4B030070500 (Difference: +24)
    • Pure Web Mercator (Standard): 88FFF4AFCCC60500 (Difference: -25385)

    ENGM (Oslo)

    • Aerofly FS4 Original (main.mcf): 87E1C3B6488A0500 (Baseline / Reference)
    • Internal ECEF + 12th Degree: 87E1C2B648AB0500 (Difference: +33)
    • Real-World AIP / Navigraph + 12th Degree: 87E1C2B648AB0500 (Difference: +33)
    • External Database (GADB) + 12th Degree: 87E4B1B645830500 (Difference: -775)
    • Pure Web Mercator (Standard): 87E4B1B5EF350500 (Difference: -22869)

    LIRF (Rome)

    • Aerofly FS4 Original (main.mcf): 88B406A103B20500 (Baseline / Reference)
    • Internal ECEF + 12th Degree: 88B405A103B30500 (Difference: +1)
    • Real-World AIP / Navigraph + 12th Degree: 88B405A103B30500 (Difference: +1)
    • External Database (GADB) + 12th Degree: 88B697A106DB0500 (Difference: +809)
    • Pure Web Mercator (Standard): 88B697A0CA2D0500 (Difference: -14725)
  • The database doesn't use lat/lon it uses world grid units, that's Aerolfy's own coordinate system. Values range from 0 to 65536 in both directions easily tiling the entire world in square textures with a factor of 2. - So lat/lon 0,0 maps to 32768.0, 32768.0 in world grid. X maps to longitude linearly but Y has a tan() function in it. lon/lat (E/N) is in radians here.

    Regards,
    Jan

  • The database doesn't use lat/lon it uses world grid units, that's Aerolfy's own coordinate system. Values range from 0 to 65536 in both directions easily tiling the entire world in square textures with a factor of 2. - So lat/lon 0,0 maps to 32768.0, 32768.0 in world grid. X maps to longitude linearly but Y has a tan() function in it. lon/lat (E/N) is in radians here.

    Thank you. Works like a charm. ;)

  • Yes! That did it. Thanks a lot. And also thank you, Dav111 for taking the initiative.

    Wait…. 🤔 UID’s? As in… main.mcf UID’s? 😏

    ArmitageDo i smell a Startgerät update here? 😉