Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 11-03-2020, 06:06   #1
Registered User

Join Date: Mar 2020
Posts: 6
NOAA Tileset for GPS Logger

Hi Everyone, new member here.

I am designing a GPS based data logger for when I scuba dive. This device sits on my dive flag and will record where I've traveled. This has practical uses for Search and Rescue and other means for underwater navigation/searching.

My arduino based device is a web server that can be accessed by any phone via the web browser. Unfortunately, I need a format in a typical web-based format such as map tiles (similar to google or leafletjs). My server requires them to be in a {zoom}/{x}/{y}.png format.

I got it working using OSM data to PNG but need to do the same for the formats NOAA offers and their nautical charts are a bit more 'related' than street maps The formats that I can find are KAP/BSB and KML. I have a converter that will convert OSM data to PNG tilesets the way I need. But not sure how to get the KAP/BSB or KML files to that format.

I've scoured the internet for a few days now, and possibly just searching on the wrong terms, but any help would be amazing! and I'll greatly appreciate it.

thanks again for any support!
Chad
__________________

chaddy is offline   Reply With Quote
Old 11-03-2020, 06:38   #2
Registered User

Join Date: Mar 2020
Posts: 6
Re: NOAA Tileset for GPS Logger

And after i post, i came across a solution, as always...

https://github.com/mapbox/mbutil

convert from MBtiles to PNG!

__________________

chaddy is offline   Reply With Quote
Old 11-03-2020, 10:47   #3
Registered User

Join Date: May 2012
Posts: 748
Re: NOAA Tileset for GPS Logger

Chad ...

Have you looked at Global Mapper?

Mike
Rasbats is online now   Reply With Quote
Old 11-03-2020, 10:56   #4
Registered User

Join Date: Mar 2020
Posts: 6
Re: NOAA Tileset for GPS Logger

Quote:
Originally Posted by Rasbats View Post
Chad ...

Have you looked at Global Mapper?

Mike


its $220+ :-(
chaddy is offline   Reply With Quote
Old 11-03-2020, 11:34   #5
Registered User

Join Date: Aug 2016
Posts: 108
Re: NOAA Tileset for GPS Logger

Download MBTiles from NOAA
https://tileservice.charts.noaa.gov/tileset.html#50000_1-locator


clone from GitHUB https://github.com/mapbox/mbutil


cd mbutil

./mb-util your.mbtiles path_to_tiles_directory
BlackSea is offline   Reply With Quote
Old 11-03-2020, 11:45   #6
Registered User

Join Date: Mar 2020
Posts: 6
Re: NOAA Tileset for GPS Logger

Quote:
Originally Posted by BlackSea View Post
Download MBTiles from NOAA
https://tileservice.charts.noaa.gov/...0000_1-locator


clone from GitHUB https://github.com/mapbox/mbutil


cd mbutil

./mb-util your.mbtiles path_to_tiles_directory
Thanks BlackSea, I have found that. It works (for the most part). Mbutil doesn't produce great outputs. Anything for ENC (s57 format)?
chaddy is offline   Reply With Quote
Old 11-03-2020, 11:46   #7
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,780
Re: NOAA Tileset for GPS Logger

Quote:
Originally Posted by BlackSea View Post
Download MBTiles from NOAA
https://tileservice.charts.noaa.gov/...0000_1-locator


clone from GitHUB https://github.com/mapbox/mbutil


cd mbutil

./mb-util your.mbtiles path_to_tiles_directory

Chad..



mbTiles do work in OpenCPN - in case this was not clear.


If you have geo-refs ready for png chartlets, then imgkap is the tool to produce .kap files from images.


Both are valid options.
bcn is online now   Reply With Quote
Old 11-03-2020, 11:59   #8
Registered User
 
Dsanduril's Avatar

Join Date: Aug 2011
Location: Petersburg, AK
Boat: Outremer 50S
Posts: 2,950
Re: NOAA Tileset for GPS Logger

Around here we're always trying to go the other direction

But, I've had need in the past for what you are attempting, try BSB Reader and see if it produces what you need.

May also want to check out http://libbsb.sourceforge.net/.

Anything that counts on the raster products will get broken shortly when NOAA stops producing them, so you may be better off going down the ENC route, but I haven't had to do conversions your direction so don't have any recommendations for that.
Dsanduril is offline   Reply With Quote
Old 11-03-2020, 12:07   #9
Registered User

Join Date: Mar 2020
Posts: 6
Re: NOAA Tileset for GPS Logger

Quote:
Originally Posted by bcn View Post
Chad..



mbTiles do work in OpenCPN - in case this was not clear.


If you have geo-refs ready for png chartlets, then imgkap is the tool to produce .kap files from images.


Both are valid options.
hi BCN,

Not sure if I understand or if you missed my requirements?

I need the files exported into a png format similar to how web-map based systems work. I can export OSM and MBTiles into the correct format. Hoping to find something similar to ENC file format (vector format) and export similarly into {zoom level}/{x}/{y}.png in all levels from zoom level 1 to 20.
I need them exported to pngs because I am running this in an offline mode situation (no internet/server).
chaddy is offline   Reply With Quote
Old 11-03-2020, 12:08   #10
Registered User

Join Date: Mar 2020
Posts: 6
Re: NOAA Tileset for GPS Logger

Quote:
Originally Posted by Dsanduril View Post
Around here we're always trying to go the other direction

But, I've had need in the past for what you are attempting, try BSB Reader and see if it produces what you need.
Awesome! Thanks. Yeah ... not the typical conversion which is what is making this slightly difficult lol.

Will give this a shot.
chaddy is offline   Reply With Quote
Old 11-03-2020, 12:25   #11
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,780
Re: NOAA Tileset for GPS Logger

I see, got you wrong..


imgkap will also extract the raster information as png from a BS3/.kap file.
The other way around.
__________________

bcn is online now   Reply With Quote
Reply

Tags
gps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Columbus V-800 GPS - Data Logger rgleason OpenCPN 3 04-07-2014 06:40
Connectors and NMEA Logger for Depth and Lat / Long Data Skylark Navigation 1 17-08-2010 07:34
Central Data Logger for Sailboat - Any Ideas ? Irbiz Marine Electronics 12 04-06-2010 05:52
My NMEA Logger Program Paul Elliott Navigation 21 23-11-2009 01:37

Advertise Here


All times are GMT -7. The time now is 00:48.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.