Code Monkey home page Code Monkey logo

Comments (19)

Thom-x avatar Thom-x commented on June 21, 2024

You can try to view what's in the javascript config file:

Capture

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

Oh yes.. I forgot to mention. I have it set there too. Just double checked my set of coordinates. They point to the correct spot but the skyview shows it offset :(

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

You don't need to change it manually in config.json this is the direct view from chrome.

At startup coordinates are added into the file automatically, don't forget double quote:

-e "HTML_SITE_LAT=11.123456"
-e "HTML_SITE_LAT=48.123456"

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

I have it also in the export variables .. Since i use a synology NAS for the docker container it looks like this:

image

It seems to obey these settings as my map and center spot is moving when i change the variables. However it´s never displayed at the exact right spot :(

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

Are the coordinates correct when you show the dev console on your browser like in my screenshot ?

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

I checked in chromes developer console - yes its the correct coordinates in config.json ..also in the env variables its set the same. i just checked the dockerfile.

really strange - if you want i can provide you with a teamviewer session.

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

In this case it's not an issue with the docker image.
It's a bug in piaware frontend I think.

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

Who is maintaining the frontend of piaware ? Would that be https://github.com/flightaware/piaware ?

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

Yes I think.

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

Ok - i´ve opened an issue at the piaware github page.
https://github.com/flightaware/piaware/issues/63

Closing this issue to avoid redundancy. Thanks for the support :)

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

It seems to be that dump1090 is rounding the GPS coordinate digits for privacy reasons.

You can set it manually from:

JSON_OPTIONS="--json-location-accuracy 1" (estimated)
to
JSON_OPTIONS="--json-location-accuracy 2" (exact position)

@Thom-x I just dont know yet how your docker setup is working. Do you have any idea where we can configure that variable? maybe as a docker env variable ?

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

We start dump1090 here, we could add --json-location-accuracy 2 at the end.

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

Could we make it a docker env flag / variable so users can set it without modifying files inside the docker container and break their upgrade path ? That would be pretty cool :)

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

It's possible, we can do something like HTML_SITE_LAT env var.

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

It's possible, we can do something like HTML_SITE_LAT env var.

Cool.. i suggest HTML_SITE_LOCATION_ACCURACY <1|2|3>

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

I created on more generic one, see #26

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

You can try with image version thomx/fr24feed-piaware:dump1090-additional-args

from docker-fr24feed-piaware-dump1090.

glowfishDE avatar glowfishDE commented on June 21, 2024

I created on more generic one, see #26

Ah very cool. When will this change go into the "latest" image ? Or is there a way to re-install a docker container with a different release type ?

My docker piaware is built with the latest branch. Sorry - i´m kinda new to docker :(

And if you pull a new image into your container, it will have a new feeder ID right? or can i set the old feeder ID somewhere to the new installed software somewhere ?

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on June 21, 2024

If you change the version latest by dump1090-additional-args you don't have to do anything else.
It will work right away.

from docker-fr24feed-piaware-dump1090.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.