The browser has a localStorage for every webpage.
You can set stuff to certain values.
Either the website does it for you or you can do it on the browser console.
Regarding the javascript console, the problem with anything gui is you need to know what to click. It wasnāt clear where to find this line to change it. However I changed the line as indicated in the early.js and it worked once it dawned on me to go to the map selector and click on custom tiles. (I knew something was up because I saw no error message in the nginx error log to access the maps.) As a QA check, I scrolled the map to the point where I had no local map tiles available.
Thanks for your help. Now I will address the other things you suggested.
There is a reason for logs. People need to use them before asking for help.
I have lots of things to clean up. The data file in the run tmpfs isnāt permanent. But stuff like that is googleable. There are few software related problems that someone hasnāt seen before.
Totally off topic but you sound like a person who might be effected by this:
Deadline is today. My recollection is this is only a Firefox issue. Spread the word. The gunzipped file is over 300Mbytes. The EFF servers must be smoking.
Heyā¦I am a linux noob so please bare with me. I am doing something similar to the threadā¦mobile setup - raspberry pi\GPS (location and time setting)\dump1090-fa\Pi setup as a wifi router etc. The concept is for a small unit which travels with me whilst offline (when home it would be online) and its for my-self and friends to connect to it and to see whats going on when we are in locations that do not have mobile phone coverage. After testing i have come to realize that after a few zooms (in & out) whilst offline the maps fail to render and therefore i need to make a change to store the maps locally on the Pi. As different devices will be connecting to it the change to store the maps needs to be on the Pi and i am wondering\trying to figure out how to do it. I have picked up from the thread that making a java change in the browser of the client would do the trick and would work once the map has been āvisitedā previously which whilst a great idea for single client device its not ideal when one has different devices with different browsers connecting. Therefore what would I need to do (i am assuming I start with a code change in layers.js) to store maps for a specific area on the pi? Is it possible to cache maps on the pi similar to the client browser scenario or would i need to setup some sort of map server? Thanks and apologies if this question has been answered elsewhere.
Youād have to make it some folder on the pi available via the lighttpd configuration.
Then load the tiles for your area ā¦ which isnāt really liked because it often creates big load but they have a wiki on it: OpenLayers Local Tiles Example - OpenStreetMap Wiki
Then youād change the URL for the OSM map to a relative URL and it should work.
Iāve never tried to be honest.
I suppose you could set up mapproxy ā¦ not sure if that will run well on a pi: https://mapproxy.org/
Then you would only need to point a tile layer in layers.js to the mapproxy server and then visit once to cache all the zoom levels you need.
pi@piaware:~ $ view1090-fa --help
-----------------------------------------------------------------------------
| view1090 ModeS Viewer dump1090-fa 4.0 |
-----------------------------------------------------------------------------
--no-interactive Disable interactive mode, print messages to stdout
--interactive-ttl <sec> Remove from list if idle for <sec> (default: 60)
--modeac Enable decoding of SSR modes 3/A & 3/C
--net-bo-ipaddr <IPv4> TCP Beast output listen IPv4 (default: 127.0.0.1)
--net-bo-port <port> TCP Beast output listen port (default: 30005)
--lat <latitude> Reference/receiver latitide for surface posn (opt)
--lon <longitude> Reference/receiver longitude for surface posn (opt)
--max-range <distance> Absolute maximum range for position decoding (in nm, default: 300)
--no-crc-check Disable messages with broken CRC (discouraged)
--fix Enable single-bits error correction using CRC
(specify twice for two-bit error correction)
--no-fix Disable error correction using CRC
--metric Use metric units (meters, km/h, ...)
--show-only <addr> Show only messages from the given ICAO on stdout
--help Show this help
If someone has a raspberry pi with a 3.5 inch touch screen LCD hat, he can get the view1090-fa display on the hat by adding following line in file /etc/rc.local just above last line i.e. just above exit 0
sleep 10; view1090-fa
Save file, and reboot Pi.
NOTE: The sleep 10 provides 10 seconds delay to enable dump1090-fa to start up before view 1090-fa command is run.
For āno internetā scenario, an alternative to RPi + dump1090 is Windows Laptop with jetvisionās RTL1090 decoder + adsbScope to display aircraft on a map. The map of adsbScope is very basic, is black and white with minimal details, but serves the purpose.
I understand his approach. Thought about something similar while beeing away from home but without the need of running the computer all the time.
However a display is required anyhow.
I use an Androud tablet on which I have installed App Avare ADSB from Google Pkay store, and plugged a dongle using OTG adaptor C to USB. I run the tablet in Airplane mode, so no wifi or data connection, and I see the plane with map. Please see attached photo.
Note: I also tried it on Samsung Galaxy S8 phone, and it works ok. The only problem with phone is battery. With tablet I put it on the stand connected to charger, so battery is not an issue.
CLICK ON PHOTO TO SEE LARGER SIZE CLICK AGAIN TO SEE FULL SIZE
Very cool. I just installed Avare ADSB onto my phone, found my otg adapter I use for WSPR, weak signal propagation reporter (a mode used to test my ham radio antennas) and plugged antenna and dongle in. At first I didnāt think it was going to work because of an error message saying something about the dongle or otg adapter and permissions but I noticed it was receiving data. I switched to airplane mode on the phone and hit maps. Again I didnāt think it was going to work because of the blank screen I saw. So I disabled plane mode and a map appeared on my screen along with some planes. I enabled plane mode again and the planes and map remained on the screen and the planes remained active! Thanks for the info abcd567.
UPDATE: For some reason, the screen freezes. Then I saw a message about a timeout on new packages. The test version has a frame limit. If the pro version doesnāt have the limit, Iāll spend the $ for it.
UPDATE: I purchased Avare ADSB Pro and it works great. Like you mentioned, it does eat up the battery so Iāll have to find an Android tablet. I may have one.
abcd567, I can use my phone with the dongle but canāt with the Samsung tablet3 i have. I get an error message āNo supported USB dongle found. Make sure your Android device supports OTG!ā Well, I guess it doesnāt. What model is the Lenovo your show in the pic? Tnx
Iām working on an adsb receiver based on tar1090 installed on a raspberry pi zero w, everythings work fine with an internet connection.
But I want to go offline, through a map downloaded on the raspberry pi. And so I want to know how I can achieve that (map file format? force tar1090 to read the downloaded map?)
Iāve seen some ideas and starting points but never feedbacks from someone who succeed.
Iāve found a solution !
Iāve downloaded an app (android) with a basic offline map, which is able to decode the aircraft.json file from tar1090.
So I connect my phone to my pi zero through wifi, and it display the planes cought by the adsb dongle.
I can maybe open a topic on it for more detailled informations ?