Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart groups and scale #256

Closed
thefrenchsailor opened this issue Dec 3, 2022 · 3 comments
Closed

Chart groups and scale #256

thefrenchsailor opened this issue Dec 3, 2022 · 3 comments

Comments

@thefrenchsailor
Copy link

I tried importing BSB chart folders containing hundreds of charts each but it seems to only work with individual charts files. Note that the chart folders may have sub-folders depending on the source. Maybe it could be done by importing a compressed .zip file directly and letting AvNav handle the conversions.

Besides importing, I also can't group them together to show at the same time. This could be done by using the folder structure of the chart directory to determine groups. For instance, if there's a folder in the directory, it is automatically a group and all charts inside are shown together.

It would also be good to detect or specify the chart scale from the individual charts to show/hide them dynamically when navigating as some charts may be more or less detailed for certain zoom levels. For example, when I zoom in, it would hide the larger charts and instead show the more detailed ones. Vice versa.

Therefore, I ask;

  • importing .zip containing multiple charts
  • generating chart groups based on their directory
  • showing/hiding individual charts based on their scale

I hope this I am explaining myself adequately, thank you.

@thefrenchsailor
Copy link
Author

After further research, I have partially answered my questions.

It seems the windows converter can be used with chart dataset folders.

Yet;

  • can the windows converter handle zoom layers?
  • is there a converter on the OpenPlotter version of AvNav?

Thank you.

@free-x
Copy link
Contributor

free-x commented Dec 3, 2022

can the windows converter handle zoom layers?

yes

is there a converter on the OpenPlotter version of AvNav?

Yes, is the same "engine" as under windows, only without UI. On command line
/usr/lib/avnav/chartconvert/read_charts.py -g -m all -o <name_of_outputchart> /path/to/bsb/

@thefrenchsailor
Copy link
Author

Very well then!

I will give it a try and report back if issues are encountered.

Thank you free-x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants