Giter Site home page Giter Site logo

Comments (10)

panaaj avatar panaaj commented on August 16, 2024 1

The best option (I believe) is to let the boundaries be visible in all zoom levels (???).

The boundaries are visible at all zoom levels regardless of the chart metadata.

from freeboard-sk.

tkurki avatar tkurki commented on August 16, 2024 1

Should we transfer this issue to the charts plugin? It would be nice to include a minimal webapp in the charts plugin to render the coverages.

from freeboard-sk.

tkurki avatar tkurki commented on August 16, 2024

Some chart formats include metadata about bounds, like mbtiles https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md#content

This feature really belongs in the chart plugin repo, as the feature would need support there. And this feature could be also an integral part of the plugin as well as chart using webapps like Freeboard.

from freeboard-sk.

panaaj avatar panaaj commented on August 16, 2024

From a Freeboard-SK perspective, it would be quite straight forward to toggle on/off a chart boundary rectangle based on the chart bounds data [bottom-left x, bottom-left y, top-right x, top-right y].

Example:
image

from freeboard-sk.

AndreasSchutz avatar AndreasSchutz commented on August 16, 2024

@panaaj What you show on the picture is exactly what I had in mind. That would help a lot when you want to see water coverage of your installed charts. Often charts "step into action" at a Z value far to deep-zoomed to get an overview. Important is that you can show the boundary at a smaller Z value than the actual chart data is showing at, or a lot of the benefits will disappear. I.E. A chart with zoom level between Z12-Z16 must be able to show the boundary from Z6 (approx.) to give a real good overview. The best option (I believe) is to let the boundaries be visible in all zoom levels (???).

If this isn't a pain to implement, I think it will be very usable.

from freeboard-sk.

AndreasSchutz avatar AndreasSchutz commented on August 16, 2024

@tkurki Do you think that the "boundary feature" will crash or behave crazy when the chart doesn't have that info. in the metadata? Today I only use mbtiles so I don't know how other charts behave.

from freeboard-sk.

tkurki avatar tkurki commented on August 16, 2024

Btw the assumption that the coverage is rectangular is too simple, see for example https://o-charts.org/shop/en/oesenc/75-italy-east-and-south-coast-including-sicily.html. Too bad mbtiles spec only talks about (left, bottom, right, top).

Does anybody know about this with other map formats? Can somebody look into this?

The boundary feature naturally would need to work sensibly also in the absence of coverage data.

from freeboard-sk.

panaaj avatar panaaj commented on August 16, 2024

Freeboard (or any client) will use whatever the metadata presents to display a map boundary.
So from a v2 Chart spec perspective we have the opportunity to "enhance" the SK chart metadata for bounds to define a polygon rather than [left,bottom, right, top].

This can be incorporated into Charts-plugin PR 27

from freeboard-sk.

AndreasSchutz avatar AndreasSchutz commented on August 16, 2024

Sound terrific to me. Right now I only have rectangular maps. Maybe the "toggle bounds" button should be on each chart??? Theoretically, if you have a lot of small charts, even the bounds would clutter...but I don't know, just a thought.

from freeboard-sk.

panaaj avatar panaaj commented on August 16, 2024

Available in v2.5

from freeboard-sk.

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.