Cruisers Forum

Join CruisersForum Today

Thread Tools Rate Thread Display Modes
Old 26-07-2016, 16:36   #1
Registered User
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,631
mbtiles in opencpn

I have some success with two basic scripts I have written to put tiled data into opencpn. There are many tiled data available via the web such as osm, google earth, topographic data etc.. If you have used sas planet you can see quite a list of sources.

The first script extracts the coordinates of all of the cm93 tiles into a seed yaml file. mapproxy-seed pulls the tiled data into an mbtiles file with worldwide coverage and good scale without running out of storage, and with reasonable bandwidth. I realize this has limitations as cm93 doesn't cover a lot of areas with good detail, but it's a starting point and covers a large amount of harbors and difficult passes. It's easily possible to add additional coordinates as needed in the future to expand the database.

Making mbtiles a native format in opencpn is a goal of mine, but in the meantime I wrote another script which converts this single mbtiles file into thousands of kap files.

The results are very good initially and there are various minor improvements to make.

I can for example pull google imagery, In fact the current ge2kap which by comparison is not as user friendly (mine can work on any os and just needs an input of bounding boxes, contours or shapefiles to define the areas to scan)

But there is a pressing issue. I know on many sail blogs etc, you can download google imagery kap files. At least, it is ok for a single user to pull but according to google, it is a violation of their tos to redistribute imagery.

Furthermore I would apply various filters to the imagery especially to improve contrast over water, and possibly to reduce detail over land to save disk space.
boat_alexandra is offline   Reply With Quote
Old 10-08-2016, 13:10   #2
Registered User
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,006
Re: mbtiles in opencpn

Looks like Sean found a helper program and is contributing.
rgleason is offline   Reply With Quote

enc, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mbtiles edelvoilier OpenCPN 3 23-05-2016 13:02
OpenCPN, Linux, Web site, user manual and manual wiki ... Gilletarom OpenCPN 26 30-11-2015 15:17
Request that Android OpenCPN.apk Open Source version be put up in the Dow yachtmanforfun OpenCPN 18 20-09-2015 06:00
Virtual OpenCPN - 'OpenCPN on a Stick' r.fairman OpenCPN 23 16-10-2011 19:51

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:26.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.