Giter Site home page Giter Site logo

tuktuk-chart-plotter's People

Contributors

raimohanska avatar tkurki avatar vokkim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tuktuk-chart-plotter's Issues

Heading (True vs Magnetic)

instrument-config.js contains:
...
heading: { dataKey: 'navigation.headingTrue', transformFn: toDegrees, className: 'heading', title: 'HDG', format: '00', unit: '°' },
...

My nmea2000 network does not have 'navigation.headingTrue'. It does have 'navigation.headingMagnetic'. What would be the best way to add a section to instrument-config.js that would allow the chartplotter to use the heading that is present and to indicate what reference the heading uses (ex unit: '°M' or unit: '°T'?

Permissions issue accessing charts when Signalk security is enabled

Installed tuktuk 0.0.19 and charts-plugin 2.0.0 with latest signalk-server-node (v1.2.2). Enabled security and turned off 'Allow ReadOnly Access'. Subsequently tuktuk would not display the mbtiles charts. Investigated to discover that a request to /signalk/v1/api/resources/charts would generate a 401 error in this configuration. Confirmed that turning on 'ReadOnly Access' allowed the server to access the chart files.

See discussion on slack for details but it is believed that tuktuk is not passing along cookies to the '/signalk/v1/api/resources/charts' request.

Automounting public in Signal K server breaks tuktuk

Per SignalK/signalk-server#284 SK server mounts public directory as webapp's root. Tuktuk has index.html under root and uses relative urls that assume public is a separate directory as sibling to index.html.

I'd like to fix this by moving all static content under public. Would you like to move the assets under public under some dir or just stuff everything in one directory?

Charts not displaying

I have a finland.mbtiles file in the charts directory, and the following in client-config:

 "charts": [
  {
    "index": 0,
    "type": "local"
  }
]

Nothing appears on the screen, or on the charts dropdown. However if I go to localhost:4999/charts, I get a Json doc:

[{"name":"finland","file":"/home/pi/signalk-server-node/node_modules/tuktuk-chart-plotter/charts/finland.mbtiles","bounds":[19.105224609375,59.645540251443215,27.88330078125,65.84776766596988],"minzoom":4,"maxzoom":15,"type":"tilelayer","format":"png","attribution":"Liikennevirasto. Ei navigointikäyttöön. Ei täytä virallisen merikartan vaatimuksia. https://github.com/vokkim/rannikkokartat-mbtiles https://creativecommons.org/licenses/by/4.0/","center":[23.4942626953125,62.746653958706545,9],"description":"Liikenneviraston merikartat (Yleiskartat, Rannikkokartat) 1.6.2017. https://github.com/vokkim/rannikkokartat-mbtiles","scheme":"tms","tilemapUrl":"/charts/finland/{z}/{x}/{y}"}]

Any ideas what I should be doing differently?
Node 8.9.3 under Raspbian Stretch.

Page does not load when too many chart sources

Hi! I've been using TukTuk for sometime, it's great! However, when using too many charts or chart paths, tuktuk will not load. It will keep loading untill the browser gives an error "webpage cannot be loaded due to a script that is loading".

With freeboard and the same charts (they use the same chart source plugin) it works fine. When removing some charts from the chart source plugin in SignalK, TukTuk will start to work again.

TukTuk works fine with 3 offline and 1 online chartsource. When adding one more local chart source, it will get stuck.

Titleset confusion if same metadata is use.

If signalk have 2 titleset( .mbtitle file ) with the same metadata(into mysqlite file) tuktuk get confused upon activating/desacrivating them and apply change to the first one no matter witch one was clicked.

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.