s57 tiler/ENC

I seem to be almost over the hump setting up ENC charts that can be overlayed with Freeboard-SK. So far I have done zoom levels 9 through 13 for CT. I have been building the layers one at at time for a variety of reasons but most notably because they take so long to run. And I have carefully edited the min and max zoom in each layer's metadata file to match my progress. I say almost because I seem to be having problems with some of the tilesets, which when loaded, blank the screen, disappearing my boat, ais data, as well as any other layers that seem to otherwise work fine. The attached screen-grabs show what happens when I enable the problematic set (US5CT1FV) and when I toggle it off. I have tried rebuilding that layer without effect. And the problem is not just that layer. There seem to be others too though I haven't drilled down to id them. So far as I can tell, there is nothing wrong with the underlying files. Anyone have any thoughts? Pax, Mo
No description
No description
15 Replies
AdrianP
AdrianP4mo ago
It appears that there are issues with openlayers rendering the map. Are there errors appearing in the browser console when the troublesome layer is selected?
motamman
motammanOP4mo ago
Thank you for replying. Yes. It appears to be stuck in a loop and is tossing this error: main.6a114cd0db11071e.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'name') at n.selectLookup (main.6a114cd0db11071e.js:1:2674870) at renderOrder (main.6a114cd0db11071e.js:1:2684205) at Array.sort (<anonymous>) at xLe.updateExecutorGroup (main.6a114cd0db11071e.js:1:2268345) at xLe.drawTile (main.6a114cd0db11071e.js:1:2266916) at xLe.renderFrame (main.6a114cd0db11071e.js:1:2210796) at TLe.render (main.6a114cd0db11071e.js:1:1973665) at RAe.renderFrame (main.6a114cd0db11071e.js:1:2045657) at FAe.renderFrame (main.6a114cd0db11071e.js:1:2061510) at FAe.animationDelay_ (main.6a114cd0db11071e.js:1:2059959) Do you want to see the entire message? Pax, Mo
AdrianP
AdrianP4mo ago
From the console messages it definitely looks like openlayers throwing the errors. This would suggest there is an issue with the map layer data. I would normally request that you provide a copy of the file to see if I can get more detail in debug mode (you still can) but I will not be able to look at it for at least 2 weeks as I do not have access to my laptop.
motamman
motammanOP3mo ago
I am tiling another state now (RI) and will test those later today but I will hold off doing anymore after that. I was planning on spinning up a AWS large instance to process all of New England up to level 14. If it will be helpful, I can send an offending later. Another note: the errors occur on different zoom levels. Some work on 9 and not 11, for example. Others on 11 but not 9. I can't see any pattern. It makes me wonder if there is something about how I generated the tiles - one level at a time. Also, watching these tiles being made, makes me think it is hopelessly inefficient building state-by-state. There is so much overlap in the packages, I think, that I am just duplicating work. Hi @AdrianP. Any chance we can see if we can figure this out?
AdrianP
AdrianP3mo ago
We can certainly try. What's the current state of play?
motamman
motammanOP3mo ago
Let me set up the tiles on an AWS instance with signal k so you can see what's going on. Or I can share the tiles. I tiled CT and RI I think zoom 9 to 12
AdrianP
AdrianP3mo ago
AWS end point should be fine to start
motamman
motammanOP3mo ago
Sure. I may have already done that. Addled, these days. Give me a few hours i didn't put them on the server. I will do that when I get to land this should serve up RI https://mizzen.zennora.sv/signalk/v2/api/resources/charts/ ... OK. Let me know if this doesn't work. I opened it up so no lo needed
AdrianP
AdrianP3mo ago
I have created some local chart entries on my system (for debugging) that point to your chart endpoints. I have success with US2EC03M but with others like US2EC04M, US3EC09M & US3NY01M I just get error responses to tile requests. https://mizzen.zennora.sv/signalk/v2/api/resources/charts/US3NY01M/9/151/194 404 Not Found
motamman
motammanOP3mo ago
Let me double check the upload. That's not right. I will be off the water later today and can properly examine the files.
AdrianP
AdrianP3mo ago
I am GMT +9 so will have a look at it tomorrow
motamman
motammanOP3mo ago
no rush. thanks
AdrianP
AdrianP2mo ago
Even though the chart meta data has minZoom: 9 and MaxZoom: 13 the tiles only appear at zoom level 9 for the chart US2EC03M I have finally come back to this... I am not seeing any issues viewing the charts. Does the issue occur on a specific map or combination of maps?
motamman
motammanOP2mo ago
Hi Adrain. I am still having issues. I need to upload the full tileset. I have been distracted by, um, sailing. I have rebuilt the tiles a couple of times. I will try over the weekend.
AdrianP
AdrianP2mo ago
No problem, just let me know when your ready.

Did you find this page helpful?