Navigation_seamaps_mbtile
Aug 28, 2022 5:10:59 GMT 1
Post by alexfish on Aug 28, 2022 5:10:59 GMT 1
Hi All
UPDATE::
This part is for downloading & converting openseammaps/mbtile
GUI = HUG
Required Python mbutil
place hug.bac & this file 'seamap_map.bac' in mbutil folder
test file use 'test_mb_tile' , its a small file so it will note dint your storage + covers a big area See The Picky
All Results should appear in mbutil folder
Available Maps
Need to see the results : have converted NorthSea . it takes about 8 or 9 minutes to complete the task
Way faster then the openseamaps download site
Change the dir path 'home/pi/Downloads/mbutil/NorthSea' to suit
Remember not all zoom levels are there hence will see standard osm on either ODD or EVEN zoom
Archive Updated
BR
Alex
UPDATE::
This part is for downloading & converting openseammaps/mbtile
GUI = HUG
Required Python mbutil
cd Downloads
git clone https://github.com/mapbox/mbutil.git
place hug.bac & this file 'seamap_map.bac' in mbutil folder
test file use 'test_mb_tile' , its a small file so it will note dint your storage + covers a big area See The Picky
All Results should appear in mbutil folder
Available Maps
OSM-OpenCPN2-Adria.mbtiles 13-May-2022 16:09 622383104, 647.98719MB
OSM-OpenCPN2-ArabianSea.mbtiles 13-May-2022 16:22 647987200, 617.96875 MB
OSM-OpenCPN2-Baltic.mbtiles 13-May-2022 16:37 1560276992, 1560.2769919 MB
OSM-OpenCPN2-Bodensee.mbtiles 13-May-2022 15:56 62435328, 62.435328 MB
OSM-OpenCPN2-Caribbean.mbtiles 13-May-2022 16:45 938070016, 938.070016 MB
OSM-OpenCPN2-Channel.mbtiles 13-May-2022 16:49 550813696, 550.8136959 MB
OSM-OpenCPN2-EastChineseSea.mbtiles 13-May-2022 16:53 486449152, 486.4491519 MB
OSM-OpenCPN2-Europa1.mbtiles 13-May-2022 06:36 3803996160, 3803.996159 MB
OSM-OpenCPN2-Germany-NorthEast.mbtiles 13-May-2022 16:56 616247296, 616.247296 MB
OSM-OpenCPN2-GreatLakes.mbtiles 13-May-2022 16:58 246366208, 246.366208 MB
OSM-OpenCPN2-GulfOfBengal.mbtiles 13-May-2022 16:59 144777216, 144.7772159 MB
OSM-OpenCPN2-GulfOfBiscay.mbtiles 13-May-2022 17:01 413675520, 413.67552 MB
OSM-OpenCPN2-LakeConstance.mbtiles 12-Jul-2021 05:53 94990336, 94.990336 MB
OSM-OpenCPN2-Lake_Balaton.mbtiles 13-May-2022 15:57 63537152, 63.537152 MB
OSM-OpenCPN2-MagellanStrait.mbtiles 13-May-2022 17:02 82186240, 82.18624 MB
OSM-OpenCPN2-MediEast.mbtiles 13-May-2022 17:13 1488490496, 1488.490496 MB
OSM-OpenCPN2-MediWest.mbtiles 13-May-2022 17:20 1193721856, 1193.721856 MB
OSM-OpenCPN2-Niederlande-Binnen.mbtiles 13-May-2022 17:21 253173760, 253.17376 MB
OSM-OpenCPN2-NorthSea.mbtiles 13-May-2022 17:36 1751748608, 1751.7486079 MB
OSM-OpenCPN2-NorthWestPassage.mbtiles 13-May-2022 17:44 297811968, 297.811968 MB
OSM-OpenCPN2-NorthernAtlantic.mbtiles 13-May-2022 17:24 610164736, 610.164736 MB
OSM-OpenCPN2-Saimaa.mbtiles 13-May-2022 17:47 430624768, 430.6247679 MB
OSM-OpenCPN2-SouthChineseSea.mbtiles 13-May-2022 17:57 1033904128, 1033.904128 MB
OSM-OpenCPN2-SouthPacificIslands.mbtiles 13-May-2022 18:04 661434368, 661.434368 MB
OSM-OpenCPN2-USWestCoast.mbtiles 13-May-2022 18:09 567300096, 567.3000959 MB
OSM-OpenCPN2-test.mbtiles 13-May-2022 15:57 13434880, 13.43488 MB
Need to see the results : have converted NorthSea . it takes about 8 or 9 minutes to complete the task
Way faster then the openseamaps download site
OPTION GUI TRUE
PRAGMA GUI gtk3
DECLARE text TYPE STRING
DECLARE data TYPE FLOATING
PRAGMA LDFLAGS `pkg-config osmgpsmap-1.0 gobject-2.0 gthread-2.0 --libs`
PRAGMA OPTIONS `pkg-config osmgpsmap-1.0 --cflags`
PRAGMA INCLUDE <osmgpsmap-1.0/osm-gps-map.h>
PRAGMA INCLUDE <glib-2.0/glib.h>
gui = GUIDEFINE(" \
{ type=WINDOW name=window callback=delete-event title=\"MAP VIEW\" width-request=300 height-request=300} \
{ type=OSM_TYPE_GPS_MAP name=map_1 map-source=OSM_GPS_MAP_SOURCE_OPENSTREETMAP tile-cache=\"/home/pi/Downloads/mbutil/NorthSea\" parent=window }")
REPEAT
event$ = GUIEVENT$(gui)
UNTIL event$ = "window"
Change the dir path 'home/pi/Downloads/mbutil/NorthSea' to suit
Remember not all zoom levels are there hence will see standard osm on either ODD or EVEN zoom
Archive Updated
BR
Alex