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

Recreate the Europe Map #233

Open
pgrawehr opened this issue Dec 31, 2019 · 17 comments
Open

Recreate the Europe Map #233

pgrawehr opened this issue Dec 31, 2019 · 17 comments

Comments

@pgrawehr
Copy link

Would it be possible to recreate the Europe map? Currently, both the KAP format and the mbtiles format only contain level 16 for this map, and no lower levels. This causes strange issues both in OpenCPN as well as in Signalk/Freeboard-sk, where nothing is shown until exactly that level is reached. Other maps (like the one for the baltic sea) does not have this problem, although it could start at lower levels as well.

To be really usable, the maps should have all levels between 2 and at least 16 (better 17 or 18 for harbours), or maybe every second level in-between.

I could create the maps myself, but I want to avoid downloading that many tiles just for myself. (I'll eventually need all european waters from St. Petersburg down to Athens)

@stevo01
Copy link

stevo01 commented Jan 1, 2020

Hi

Would it be possible to recreate the Europe map? Currently, both the KAP format and the mbtiles format only contain level 16 for this map, and no lower levels. This causes strange issues both in OpenCPN as well as in Signalk/Freeboard-sk, where nothing is shown until exactly that level is reached.

Thanks for your feedback. The maps are based on MOBAC project files stored here: https://github.com/stevo01/SeaChartCreator/tree/master/sample/atlas/mobac/inland-water-ways
Feel free to update the files and send me pull request. After a review I can integrate your changes and build new kap and mbtile files.

Other maps (like the one for the baltic sea) does not have this problem, although it could start at lower levels as well.

The reason is that the project files come from different authors. The authors used different tools and strategies to design the maps. Biggest challenge is to reduce the number of needed tiles and cover everything whats important for the navigator.

To be really usable, the maps should have all levels between 2 and at least 16 (better 17 or 18 for harbours), or maybe every second level in-between.

There is a wiki article available which describes how to "design a chart":
https://wiki.openseamap.org/wiki/OpenSeaMap-dev:De:Chart-Designer

@pgrawehr
Copy link
Author

pgrawehr commented Jan 1, 2020

Thanks for the links, I'll have a look at that.

@pgrawehr
Copy link
Author

pgrawehr commented Jan 1, 2020

Question: Can your tool handle non-square (polygon-shaped) areas, as MOBAC can?
Just curious: What's the advantage of your tool over directly using Mobac?

@stevo01
Copy link

stevo01 commented Jan 1, 2020

Question: Can your tool handle non-square (polygon-shaped) areas, as MOBAC can?
Just curious: What's the advantage of your tool over directly using Mobac?

Honestly, I haven't figured that out yet. The "Chart Designer" is based on Mobac and most functions are available in both applications.

@pgrawehr
Copy link
Author

@stevo01 I've done Lake Constance as a first start. It works fine with SignalK, but OpenCPN only displays one single small section of the map with only one resolution. Any idea how to analyze that?

(I would upload my created map, but Github doesn't like anything > 10MB 👎 )

@stevo01
Copy link

stevo01 commented Jan 12, 2020

@pgrawehr: have you generated/tested mbtiles or kap files? I will generate both and give you feedback...

@pgrawehr
Copy link
Author

I have created mbtiles, because that works in both applications (or is supposed to work in both...)

@stevo01
Copy link

stevo01 commented Jan 13, 2020

@pgrawehr: next question: Which application do you used for generation of the mbtiles?

@stevo01
Copy link

stevo01 commented Jan 13, 2020

I generated mbtiles with OpenSeaMap today. The size of the File is around 50MB. The parts marked as polygon are not included because the SeaChartCreator Application processes only the "map" elements and not the "PolygonMap" from mobac project files.

OpenSeaMap in version 5.0.0 is able to open the map but shows just a small part of the map in lower zoom level. (I think there is a bug in my mbtile generator) The presentation of the map in high zoom level is bad because the areas defined as "polygon" are missing".

konstanz

Can you replace the "polygon maps"? I did not support polygons because I cannot use them for generation of KAP files...

@pgrawehr
Copy link
Author

I used Mobac for generating the mbtiles file. OpenCPN (From the screenshot that's what you're using) just shows one very small tile of the whole map for me. I think it has nothing to do with the polygon regions, but I'll try to eliminate those.

@stevo01
Copy link

stevo01 commented Jan 13, 2020

I used Mobac for generating the mbtiles file. OpenCPN (From the screenshot that's what you're using) just shows one very small tile of the whole map for me. I think it has nothing to do with the polygon regions, but I'll try to eliminate those.

👍

@pgrawehr
Copy link
Author

@stevo01 I've added an XML that uses only rectangles now. Needs a bit more tiles, but should do the trick. Again, I've used mobac to create the Mbtiles file. Still the issue for me remains: In OpenCPN, only a small fraction of the map is visible, the SignalK chart server is rendering the maps correctly. I do not know how to create KAP with Mobac, it doesn't seem to be in the list of available formats.

@stevo01
Copy link

stevo01 commented Jan 21, 2020

I generated a mbtile file with scripts from SeaChartCreator project and made upload to ftp server.
The file is available for download:
https://ftp5.gwdg.de/pub/misc/openstreetmap/openseamap/charts/mbtiles/test/OSM-OpenCPN2-BodenseeTest.mbtiles

note: OpenCPN seems to work with the file.

@pgrawehr
Copy link
Author

@stevo01 : Yes, this map works with both tools I have tried (OpenCPN and SignalK). Not sure what is different to the one I generated myself. I'll investigate later, when I find time.

I'll go ahead then and prepare the XML for other regions that I think need updating/fixing.

@stevo01
Copy link

stevo01 commented Jan 23, 2020

Ok. Thanks for support. I plan to review the map with other OSM team member and give you feedback next days.

@stevo01
Copy link

stevo01 commented Jan 24, 2020

@pgrawehr: please send me your telephone number and / or email to [email protected].

@stevo01
Copy link

stevo01 commented Nov 10, 2020

I created and tested new map for Lake Constance. This map includes maps in different zoom levels and each zoom level covers complete area of the lake. Download: https://ftp5.gwdg.de/pub/misc/openstreetmap/openseamap/charts/kap/OSM-OpenCPN2-KAP-LakeConstance.7z

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