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

New Chart Visibility #7

Open
HutchSails opened this issue May 1, 2016 · 8 comments
Open

New Chart Visibility #7

HutchSails opened this issue May 1, 2016 · 8 comments

Comments

@HutchSails
Copy link

I used freeboard-installer to convert charts, and the zip files were created. I moved these zipfiles to mapcache, but freeboard-server doesn't see them. Where should they go?

@HutchSails
Copy link
Author

I discovered that by moving the original chart files to the "mapcache" directory, and by subsequently pointing the freeboard-installer chart conversion dialog to that directory, converted charts were created, and I was able to see the newly created chart names in freeboard-server's chartplotter setup dialog. No chart images were displayed though, and when I looked at the png images that were created (in the generated zip files) with eog, they seemed to be empty (all transparency) images with an occassional white stripe across them. The OSM background is visible, BTW. That works pretty well.

So, there's an issue with the chart-to-png conversion process. Overall, the server works nicely (I like that part) - but it was the charting feature more than anything else I was looking for. I thought freeboard (since it's written in Java) would make a nice companion for JOSM. I wonder if anyone else has had any issues with chart conversion? I used KAPs.

@HutchSails
Copy link
Author

Should I be using ENC instead of raster charts?

@ph1l
Copy link
Contributor

ph1l commented May 12, 2016

I just installed the server to play around with it, too. I Grabbed a couple of charts from here: http://www.charts.noaa.gov/RNCs/RNCs.shtml

#18650 SAN FRANCISCO BAY CANDLESTICK POINT TO ANGEL ISLAND

Ran the chart through the installer app as described in the README.

This created two map zipfiles 18650_1.zip and 18650_2.zip from the KAP files.

the images have stuff in them:
1256

However, I'm also having trouble seeing them appear on the chatplotter page..

Checking the "Web Console" in firefox reveals an Error:

GET http://freeboard-server:8080/mapcache/18650_1/11/325/1256.png [HTTP/1.1 404 Not Found 2ms]

Which I quickly traced down to the fact that I named the directory something different on my freeboard-server. So renaming the directory with the maps in it made them show up exactly as I expected:

freeboard@freeboard-server:~/freeboard-server$ mv mapcache/NOAA_18650_1 mapcache/18650_1
freeboard@freeboard-server:~/freeboard-server$ mv mapcache/NOAA_18650_2 mapcache/18650_2

selection_001
Hope this helps you too!

@ph1l
Copy link
Contributor

ph1l commented May 12, 2016

@rob42 It might have been more apparent if the server logged 404s to it's console as well?

@rob42
Copy link
Owner

rob42 commented May 12, 2016

Hi Philip,

Help is definitely appreciated. Yes there is quite a bit of stuff to do, also in the process of migrating to my other project signalk.org. Since the hardware is compat, its an easy swap, and becomes a common platform for the future.

The biggest hurdle I have (other than time) is getting testers and tweakers who can fix the rough edges and add functionality.

The charts need to be processed as per the freeboard-installer project. What sort of problems are you having?

Rob
May 12 2016 1:37 PM, "Philip Freeman" wrote:
@rob42 (https://github.com/rob42) It might have been more apparent if the server logged 404s to it's console as well?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub (#7 (comment))

@ph1l
Copy link
Contributor

ph1l commented May 12, 2016

@rob42, I figured out my issue with charts loading, but @HutchSails seemed to be having a similar issue, so I just posted to his issue some info that might be helpful to him.

@rob42
Copy link
Owner

rob42 commented May 12, 2016

Hi @HutchSails, sorry I didnt react to your issue - I somehow unwatched my own project, so I didnt get notification! Fixed now.
If you are still having trouble after Phils notes pls add the details.
Im going to open another issue as an enhancement - to make add a screen to suck in the zip file and install it in freeboard. That will make the process easier as it currently requires copy, unzip, restart, etc. and there are too many things that can go wrong.

There is another issue I will add for a bug in the chart creation - another user found some charts dont convert nicely.

@rob42
Copy link
Owner

rob42 commented Oct 7, 2016

Chart conversion has been improved for the 'skewed' charts now, but leaving this here for info for others

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

3 participants