FlightAware Discussions

dump1090 3D Viewer

I think I used these I instruction, ssh into the pi and execute the code, then add IP and your location the variable.js file.


1 Like

round and round and round and…

Strikr1 & Strikr2

1 Like

Thank you! So I ran the install script and edited variable.js in Nano, but to be honest I’m unsure how to proceed from here.

Just open the webpage, < local ip of the Pi>/3d/


Here are the instructions with the path to variable.js


Thank you. So I have changed the coordinates and IP address in variable.js, but when I go to the webpage all I see is stars with a few labeled dots of European airports. I really don’t know how to proceed from here to get what is captured in the screen shots above.

My apologies if this has all been covered before, but this thread is so huge and the original post seems to have nothing to do with the @bramjacobse script.

You’ll need a bing map key and add it to variable.js.



Thank you again sir (or ma’am). This is a screen shot of what I’m seeing now. Is this the kind of data I should expect if all is setup properly?


Hi, You could also add Airport names ect.

airport data


Downloading data

Download airports.csv.

Open it with Microsoft Excel or LibreOffice and check the contents.
MyRadar 24 will not move if you register everything because there is too much volume.
Select from the 2nd line to the last line and rearrange the data with the iso_country column.
Delete all lines of unnecessary countries.

If it still seems that the amount of data is large, rearrange the data in the type column and delete lines such as heliport.

Save the data as CSV.

Convert CSV to JSON with online service

Paste the created JSON data into new text.
Add to the beginning of the line below

“airport”: [
Add to the last line

Save and rename to airports.json.

…/json/airports.json and overwrite it.


There are some more graphics options in the index.html
and a option for a Cesium.Ion.defaultAccessToken

Have fun…:slight_smile:

  	//ol3d.time = new Date('2019-03-20T00:00:00Z');

Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUxxxxxxxxxxxxxxx';

var viewer = ol3d.getCesiumScene();

// requestWaterMask: true add Watermask
var terrainProvider = Cesium.createWorldTerrain({requestVertexNormals: true ,requestWaterMask: true });

viewer.terrainProvider = terrainProvider;

viewer.globe.baseColor = Cesium.Color.LIGHTSKYBLUE;
viewer.globe.depthTestAgainstTerrain = true;
viewer.globe.enableLighting = true;

viewer.fog.enabled = true ;
viewer.sun = new Cesium.Sun();
viewer.sun.glowFactor = 1;

1 Like

Goodmorning ,

1 Like

@bramjacobse - I’m already feeding ADSB Exchange, but would like to set up this awesome 3-D visualization. I’ve downloaded and installed the files according to these instructions, and added my Bing Maps Key to variable.js, but when I go to /3d/ I get a 404 error. I suspect there is more I need to do, but I don’t know what it is. Might you be able to help me?

If I mirror Cesium as described, and it doesn’t help (improve the performance on my 3-D map), how do I uninstall/remove/disable it?

sudo mkdir /usr/local/share/shogooda3d/Cesium && cd $_
sudo wget https://github.com/AnalyticalGraphicsInc/cesium/releases/download/1.62/Cesium-1.62.zip
sudo unzip Cesium-1.62.zip && sudo rm $_

sudo nano /usr/local/share/shogooda3d/index.html
>>> Cesium/Build/CesiumUnminified/Cesium.js

@bramjacobse ref my 30 June post - I got it sorted out. Now to get it working faster…and it would be awesome if I could show only specific aircraft, perhaps by passing in a URL parameter…

1 Like


Help me figure out the settings.
I have dump1090-mutability.
Data is received (see screenshots).
My file variable.js

// BingMap KEY

var BingMapsAPIKey = 'AoMgLxwiJ1f4r-secret';

// Location radar LAT / LON
var myLat = xx.6544;
var myLon = xx.5906;

// Default camera position (play and space key press)

var camLat = xx.6544;
var camLon = xx.5906;

var camDist = 162213;
var camPan = -0.537;
var camTilt = 1.059;

// ip adress dump1090
var hostIp = 'http://xx.xx.1.116'; // example 'http:'
var dumpPort = 80; // dump1090 port number
var hostIppf = 'http://xx.xx.1.116'; // example ''
var pfPort = 30053; // planefinder port number

// Show Plane between Altitude_min & Altitude_max in feet
var Altitude_min = 0;
var Altitude_max = 40000;

// curtain 1 show markers in flightpath
var curtain = 0;

// curtain_opacity
var  curtain_opacity = 0.1;

// height_range_ring in feet above groundlevel
var height_range_ring = 300;

// Setting
// Controls page title, righthand pane when nothing is selected
var PageName = "MyRadar24";

var removeTime = 10000; // Time to delete from lost (ms) / 1s = 1000ms
var refresh = 6000; // dump1090 refresh timer

In index.html the path so prescribed —> url: hostIppf + ':' + pfPort + '/ajax/aircraft',

But there is no display of aircraft on the map.

What other settings do I need to make ?

“I have dump1090-mutability.”

Check this post

There are difference between Dump1090-FA en Dump1090-mutability.

Have fun :slight_smile:

Hi bramjacobse!

Where can I find out about tweaks for different displays of information about planes, their flight tracks, and so on ? (it is desirable to collect information in one post, as it was done on the example of manipulations with the airports.json file)
And what files do I need to change ?

Busy Sunday evening

1 Like