• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 GPS code question; 0x4f?

Messages
10,163
Country
us-arizona
Hey guys,

I have a question, mainly out of curiosity, but it might be a helpful tool in my project.

The following code is for the 'Map View' in the FS9 GPS500 system. I have made a small 'Mini Map' that shows up in my PFD G900X Garmin. Its pretty small and almost not worth it, but I like cool little details.

On this code below, is a 'details visible' listing for Zoom levels.. First zero's are farthest out, and point 24 is the closest Zoom available.

What does 0x5 and 0x4F mean?

Also, when experimenting with this earlier when using the FS9 GPS for the MFD, I found that if I made the last digit 36, I got an impressive amount of Airport Data. I also found I could raise the detail Zoom levels for Airports layer to say 36 on the last 3 levels, and add 24 to another 4 layers up. However, the screen gets a bit cluttered on a large MFD screen.


Code:
<ObjectDetailLayerAirports>0 0 0 0 0 0 0x5 0x5 0x7 0x7 0x1F 0x1F 0x1F 0x1F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 

0x4F 24 (@g:map_ZoomStep) case</ObjectDetailLayerAirports>


Curious to hear your input on what those are.



Bill
LHC
 
Bill, in your example above "24" (the last number) is the number of entries in the list.

As of the specific entries, they are the sum of each "feature's" code. See Susan's blog for a complete listing:

http://blogs.technet.com/engauged/archive/2007/11/14/gps-detail-level-enumerations.aspx


Object detail level (flags and can be combined)
- Airport

o Towered = 0x1
o Not towered = 0x2
o Hard runway = 0x4
o Soft runway = 0x8
o Water = 0x10
o Heliports = 0x20
o Private = 0x40
​

0x5 = 0x1 | 0x4 = Towered and hard-runwayed airports
0x7 = 0x1 | 0x2 | 0x4 = Towered, untowered, and hard-runwayed airports.
0x1F = 0x1 | 0x2 | 0x4 | 0x8 | 0x10 = Towered, untowered, hard-runwayed, soft-runwayed, and water-based airports

and so forth...

In other words, the map is showing more and more airports as the user zooms in on the map (based on the value of @g:map_ZoomStep).
 
Last edited:
Awesome..

Thanks Fr. Bill. This is brilliant. I had alot of questions on those and the layers, etc.

The more I dug around in the GPS, the more amazed I was at how super sophisticated it actually is. There are so many area's in the Garmin500 that I havent even found yet, such as visual runway maps when selecting an approach option, etc.

Incredible and massive amount of work!


I wonder if Susan is the same lady as the one at Sim-Outhouse?


Thanks again for the blog link. I am off to read through it.

Bill
LHC
 
Just for the sake of completeness, all bits "on" would be 0x7f (binary 1111111).

Code:
o Towered         = 0x1  = 1
o Not towered     = 0x2  = 2
o Hard runway     = 0x4  = 4
o Soft runway     = 0x8  = 8
o Water           = 0x10 = 16
o Heliports       = 0x20 = 32
o Private         = 0x40 = 64
 
Back
Top