All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: How to configure the units in metric by default ?
PostPosted: Sat Jul 15, 2017 5:55 am 
Offline
dranreb38 - FlightAware user avatar

Joined: Sun Nov 16, 2014 5:33 am
Posts: 13
Hello,
How to configure the units in metric by default in skyview ? (Not just in the right-hand menu !)
Thank


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sat Jul 15, 2017 7:37 am 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
IIRC that setting is persisted in browser local storage.


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sat Jul 15, 2017 7:51 am 
Offline
dranreb38 - FlightAware user avatar

Joined: Sun Nov 16, 2014 5:33 am
Posts: 13
I do not understand :?
How to modify this parameter


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sat Jul 15, 2017 11:24 am 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
If you change the setting on the map, that change will be stored in your browser so the next time you use the map from the same browser it will have remembered your setting.


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sat Jul 15, 2017 11:31 am 
Offline
dranreb38 - FlightAware user avatar

Joined: Sun Nov 16, 2014 5:33 am
Posts: 13
:oops: Sorry this does not work on my browser (Firefox 54.0.1 64bits), switching to metric does not change anything. With each new launch the card is always in imperial


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sat Jul 15, 2017 11:51 am 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
Oh, right, this is probably a bug that only affects firefox which is fixed for the next (not yet released) version.
(It works OK in Chrome)

It is one of the issues fixed here: https://github.com/flightaware/dump1090/pull/12


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sat Jul 15, 2017 12:48 pm 
Offline
dranreb38 - FlightAware user avatar

Joined: Sun Nov 16, 2014 5:33 am
Posts: 13
:) Yes Actually it's ok with chrome! , But how does git pull? , Or it finds the folder git dump1090 to make git pull
Thank


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sun Jul 16, 2017 12:40 am 
Offline
FlightAware Member
tyketto - FlightAware user avatar

Joined: Sun Mar 18, 2007 10:00 pm
Posts: 1022
Here's a bigger question. Why would you want to do this?

I ask, because there are very few places (Russia and China) whose altitude readouts are in Metric, while everywhere else in the world uses English. So unless you are either living in those places or tracking flights in those countries, every flight uses English units of measurement for flights.

Speed obviously is different issue as that is different depending on country. But Metric units for altitude is very limited, with less than 3 countries using it.

BL.


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sun Jul 16, 2017 7:18 am 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
Altitude is a thorny one, but for speed/distance for ground tracks it's much easier if they're in the units you're used to dealing with, be they metric or imperial. Not many people regularly think in NM / kts.

Once TAS/IAS starts appearing I could see an argument for keeping those in kts since for IAS especially it's not a speed in the sense you'd usually deal with.


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sun Jul 16, 2017 3:31 pm 
Offline
dranreb38 - FlightAware user avatar

Joined: Sun Nov 16, 2014 5:33 am
Posts: 13
Yes, but how to update dump1090 via github.com ?


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sun Jul 16, 2017 4:08 pm 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
If you are happy with working via the command line then you can git clone the current dev branch and copy the contents of public_html to /usr/share/dump1090-fa/html

Otherwise I suggest you wait for the next release which will include the fix.


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Sun Jul 16, 2017 4:13 pm 
Offline
dranreb38 - FlightAware user avatar

Joined: Sun Nov 16, 2014 5:33 am
Posts: 13
:D This solution suits me perfectly
Thank


Top
 Profile  
 
 Post subject: Re: How to configure the units in metric by default ?
PostPosted: Mon Jul 17, 2017 11:04 am 
Offline
dranreb38 - FlightAware user avatar

Joined: Sun Nov 16, 2014 5:33 am
Posts: 13
obj wrote:
If you are happy with working via the command line then you can git clone the current dev branch and copy the contents of public_html to /usr/share/dump1090-fa/html

Otherwise I suggest you wait for the next release which will include the fix.


This solution is OK why Firefox :wink:
I took the dev branch !
Thank @obj


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: