Hey guys, hoping to get a little knowledge on the coding side of the system. A little background, I’m an ATC Tower, and we currently use the skyaware view as our ground monitor, kind of like ASDE. I’m not a programmer whatsoever and I’ve seen other discussions about openlayers, but since I have no understanding of almost all of it, I just wanted to post up a question to see the possibility before searching out someone who knows JS.
Is it possible to create layers to stack, kind of like the US ARTCC and NEXRAD layers, but to draw rectangles pertaining to ILS critical areas, runway safety areas, and adding in markers for navaids on the field, and using a different layer button for each?
We’re looking to just modify the code locally through an override in the page source, since we’re on a flightfeeder and not our own piaware build.
Hope that makes sense and doesn’t sound stupid.
var refreshDwd = function () {
dwd.getSource().updateParams({"validtime": (new Date()).getTime()});
refreshDwd();
window.setInterval(refreshDwd, 4 * 60000);
europe.push(dwd);
// Taken from https://github.com/alkissack/Dump1090-OpenLayers3-html
us.push(createGeoJsonLayer('US A2A Refueling', 'usa2arefueling', 'geojson/US_A2A_refueling.geojson', 'rgba(52, 50, 168, 0.3)', 'rgba(52, 50, 168, 1)'));
us.push(createGeoJsonLayer('US ARTCC Boundaries', 'usartccboundaries', 'geojson/US_ARTCC_boundaries.geojson', 'rgba(255, 0, 255, 0.3)', 'rgba(255, 0, 255, 1)', false));
europe.push(createGeoJsonLayer('UK Radar Corridors', 'ukradarcorridors', 'geojson/UK_Mil_RC.geojson', 'rgba(22, 171, 22, 0.3)', 'rgba(22, 171, 22, 1)'));
europe.push(createGeoJsonLayer('UK A2A Refueling', 'uka2arefueling', 'geojson/UK_Mil_AAR_Zones.geojson', 'rgba(52, 50, 168, 0.3)', 'rgba(52, 50, 168, 1)'));
europe.push(createGeoJsonLayer('UK AWACS Orbits', 'uka2awacsorbits', 'geojson/UK_Mil_AWACS_Orbits.geojson', 'rgba(252, 186, 3, 0.3)', 'rgba(252, 186, 3, 1)', false));
if (world.length > 0) {
layers.push(new ol.layer.Group({
name: 'world',
title: 'Worldwide',
the displayed name
a unique identifier that’s used to store whether the layer is enabled/disabled
the URL of the geojson file
fill color and line color for the polygons
true/false flag controlling whether to show labels from the geojson on the layer or not
If you do have a separate machine available (Pi, or whatever), you could set up skyaware (or tar1090, or whatever your viewer of choice is) with your modifications on there and have it take a datafeed from the FlightFeeder, rather than having to mess around in the browser.
(also: please please please don’t use the FlightFeeder data for anything safety critical!)

kdpasafety:
A little background, I’m an ATC Tower, and we currently use the skyaware view as our ground monitor, kind of like ASDE.
A dedicated Pi, with tar1090 installed, can have stuff like that programmed.
wiedehopf/tar1090: Provides an improved webinterface for use with ADS-B decoders readsb / dump1090-fa (github.com)
However, like Obj pointed out, those are not FAA approved to be used for safety/critical missions.
Example of tar1090 layers:

SoNic67:
A dedicated Pi, with tar1090 installed, will have already stuff like that programmed.
No it won’t.
You can get the some charts, but stuff like an ILS critical area isn’t on any of the charts.
OK, I said “will have stuff like that”. Maybe should have said “can have”. My bad.
And I pointed out the FAA safety. They might be a small airfield and just want to monitor that.
I am imagining something like this:
Services | Williamsburg Jamestown Airport

kdpasafety:
Is it possible to create layers to stack, kind of like the US ARTCC and NEXRAD layers, but to draw rectangles pertaining to ILS critical areas, runway safety areas, and adding in markers for navaids on the field, and using a different layer button for each?
As already stated that’s not a certified safety system.
To just state some reasons off the top of my head:
If you lose reception for whatever reason, the marker will not be updated giving an old location for up to 60 seconds.
The icon will have typically have its center where the cockpit of the aircraft is. For the things you mentioned this can make enough difference to be relevant (cockpit off the runway, tail still on the runway)
Anyhow that’s more practical considerations, more of an issue of legality.
Awesome. Unfortunately for the time being, we’re running only a single system until we can get a fully working test platform up, so we’re tied to just modifying the code as an override. We’re also stuck with just coordinates, but I didn’t know that we could create a GeoJSON for multiple fields and then make it a single layer for a group of airports.
Thanks for the info!