Hello,
I sometimes share my Skyview map with others and I’ve recently registered a domain for it. I don’t want the location dot on the map.
Is there any way to remove it?
Hello,
I sometimes share my Skyview map with others and I’ve recently registered a domain for it. I don’t want the location dot on the map.
Is there any way to remove it?
In the options toggle the site position and range rings button.
In the options of the map itself it can be enabled by everybody individually.
But he can change the accuracy of the tracker in the configuration of the site itself on FA
Maybe there’s an option for removing it completely in the config file itself.
On the piaware sd-card image you can’t remove it.
Even if you modify the javascript not to display it, it will still be in the receiver.json which is accessible from the web.
If it weren’t a piaware image you could at least make it round the latitude and longitude a bit.
(or modify the systemd unit file and disable location for the receiver.json entirely)
That doesn’t affect the SkyView map as far as i know.
I am using the SD image but I am willing to set up with a clean Buster install.
Changing the location accuracy in My ADS-B didn’t change anything on the map.
wiedehopf, I am a huge fan of tar1090 and am actually using that as my web front end, if that helps. I love your work btw. It’s an honour.
So i just checked and it should work fine on the sd-card image as well.
Disable automatic updates, any update will overwrite these changes, you’ll need to re-do them after updates.
sudo nano /usr/share/dump1090-fa/start-dump1090-fa
Line 26:
24 if [ -n "$PIAWARE_LAT" -a -n "$PIAWARE_LON" ]
25 then
26 POSITION="--lat $PIAWARE_LAT --lon $PIAWARE_LON"
27 fi
Just change to a closeby location, this way the position decoding can still use it as a reference.
This won’t mess with MLAT, the position for that is set somewhere else.
Wouldn’t go off more than 2 degrees in latitude and longtitude:
POSITION="--lat 43.2 --lon 5.2"
Ctrl-X to exit, Y and enter to save.
Be aware that with some effort your position can still be approximated.
Now if you want to disable the black dot (which is now in the wrong location):
sudo nano /usr/local/share/tar1090/html/config.js
Uncomment this line (remove the double / at the start of the line)
//SiteShow = false; // true to show a center marker
Ctrl-X to exit, Y and enter to save.
Damn, you’re right. I mixed it up with the location on FA map.
holy cow it worked.
My Tar1090
So this isn’t your location i hope:
Do you have the key bindings disabled on purpose or is it due to the way you have exposed the website?
That is not my location.
I don’t recall messing with key bindings.
Thanks so much for your help.
After upgrading to Piaware 4, " `/usr/local/share/tar1090/html/config.js" has disappeared.
Can anyone explain how to hide my home location in the Piaware 4 Skyaware map?
`
Many thanks
This is part of tar1090, not part of piaware / dump1090-fa. Neither package touches that file and the upgrade would not have modified anything there.
Are you using tar1090 or dump1090-fa / Skyview?
Sorry, I didn’t realise there were two alternatives - I’m fairly new to Piaware.
Anyway, the URL would suggest I’m using dump1090-fa.
Thanks…
It will still be in the json, easily accessible to those able to access the webpage.
Thus you would need to change the dump1090-fa configuration which won’t work on the piaware sd-card image.
You could start from Raspbian: Raspbian Lite: ADS B receiver · wiedehopf/adsb-wiki Wiki · GitHub
Then you can set the location for dump1090-fa to something more or less close by (it’s not used for MLAT, the location used for MLAT is configured on the FA stats page).
Or are you asking for aesthetic reasons (in contrast to privacy reasons)?
For aesthetic reasons … isn’t there a map or other settings menu where you can hide the range rings / location dot? (note this only affects the person viewing, don’t use it for privacy)
Thanks for the reply wiedehopf.
Ideally, I wanted to avoid someone zooming right in to my house !!
Short of having a degree in Raspian, it doesn’t look as if it’s possible ;(
Thanks anyway, Paul
Suhgestion: On your fligjtaware stats page, click on the “gear” icon. Locate section listing “precision”, and change the value to 10km. Now anyone zooming in is seeing close up of a random location with 10km of your location. Your exact coordinates are still known by Flightaware for MLAT calculation purposes.
I think that only applies to the FlightAware maps, rather than the SkyAware page ?
If you manage to install a Raspbian image and get SSH access which really isn’t all that complicated with the guides linked, then the rest is just doing what i just mentioned.
(1) If you are going to use RaspberryPi OS (previously called Raspbian), download the image from here:
Raspberry Pi OS (Lite), Direct Download Link:
https://downloads.raspberrypi.org/raspios_lite_armhf_latest
Raspberry PI OS Download Page:
https://www.raspberrypi.org/downloads/raspberry-pi-os/
(2) With Raspberry Pi OS, you will need to enable WiFi and SSH after burning the image, and while the microSD card is still plugged into the card reader of Desktop / Laptop.
Raspbian Image - Howto Enable & Configure WiFi Before First Boot
For Beginners - How-to SSH to RPi - Setup Putty in Window
Took a short time out, and re-read wiedehopf’s post again. I then realised you meant to SSH into start-dump1090-fa
and edit that.
So, using SSH, I typed…
sudo nano /usr/share/dump1090-fa/start-dump1090-fa
and just underneath the existing…
if [ -n “$PIAWARE_LAT” -a -n “$PIAWARE_LON” ]
then
POSITION=“–lat $PIAWARE_LAT --lon $PIAWARE_LON”
fi
I added the line
POSITION=“–lat 54.8 --lon -1.37”
Ctrl-X to exit, Y and enter to save. And rebooted the Pi and it works !!!
Thanks to all, especially wiedehopf !