{"id":3257,"date":"2022-09-13T07:42:00","date_gmt":"2022-09-13T07:42:00","guid":{"rendered":"https:\/\/open-boat-projects.org\/?page_id=3257"},"modified":"2024-06-20T05:38:29","modified_gmt":"2024-06-20T05:38:29","slug":"offlinekarten-mit-mobac-erstellen","status":"publish","type":"page","link":"https:\/\/open-boat-projects.org\/en\/offlinekarten-mit-mobac-erstellen\/","title":{"rendered":"Create offline maps with MOBAC"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3266\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3-300x212.png\" alt=\"\" width=\"300\" height=\"212\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3-300x212.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3-18x12.png 18w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3.png 352w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Fig.: Mobile Atlas Creator (MOBAC)<\/p>\n<p><strong>mob<\/strong>ile <strong>A.<\/strong>tlas <strong>C<\/strong>reator (MOBAC) is a Java open source program that provides offline maps for various navigation devices. As a source for an offline map, Mobile Atlas Creator can use a large number of different online maps, such as <a href=\"https:\/\/www.openstreetmap.org\/#map=6\/51.330\/10.453\" target=\"_blank\" rel=\"noopener\">OpenStreetMap<\/a>-based maps and other online map providers. In addition to pure navigation charts for vehicles on land, charts for watercraft are also offered.<\/p>\n<p>The online maps are generated from vector data and contain a large amount of individual information. Depending on the zoom level of the map, a different amount of information is displayed. Overview maps at low zoom levels contain less detail than detailed maps at high zoom levels. The zoom levels are divided into different layers (0...18). Each layer is provided with its own map material in the form of many small picture tiles (256 x 256 pixels), which are also referred to as tiles. For example, the fonts and other information are adapted to the respective resolution so that they are reasonably legible. A map consists of a set of layers with different zoom levels, and each layer in turn contains a set of image tiles that cover the map area. Overview maps with a lower zoom level get by with fewer image tiles than detailed maps with a high zoom level. Especially at the highest zoom levels, a lot of image tiles are required, which also takes up significantly more storage space. At the end you get a raster map consisting of many image tiles in the form of PNG images that were generated from vector data.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3280\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/pyramid-300x294.png\" alt=\"\" width=\"300\" height=\"294\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/pyramid-300x294.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/pyramid-12x12.png 12w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/pyramid.png 559w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Fig. Zoom level pyramid with tiles<\/p>\n<p>With MOBAC you can have offline map material produced in different zoom levels and for different sea areas. Different card types are supported. The following shows how to use MOBAC offline maps in GEMF format for <a href=\"https:\/\/www.wellenvogel.net\/software\/avnav\/docs\/beschreibung.html\" target=\"_blank\" rel=\"noopener\">AVnav<\/a> created. In order to simplify the configuration of MOBAC, a map definition is provided that contains special and useful default settings for map creation.<\/p>\n<h1>map creation<\/h1>\n<h2>What is needed<\/h2>\n<ul>\n<li>the Mobile Atlas Creator (<a class=\"externalURL\" href=\"https:\/\/sourceforge.net\/projects\/mobac\/files\/Mobile%20Atlas%20Creator\/MOBAC%202.0\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer ugc\">download<\/a>)<\/li>\n<li>Java Runtime Environment version 11 for operating system<\/li>\n<li>The <a href=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/wb-osm.zip\">card definition<\/a><\/li>\n<li>Settings in MOBAC<\/li>\n<li>Internet connection to download the map material<\/li>\n<\/ul>\n<p>After the MOBAC has been downloaded and installed, some changes still need to be made.<\/p>\n<ul>\n<li>The provided map definition <em><strong>wb-osm.xml<\/strong><\/em> from the ZIP into the MOBAC <em><strong>.\/mapsources<\/strong><\/em> Copy directory<\/li>\n<li>In the file <strong><em>SETTINGS.XML<\/em><\/strong> in the main directory of the installation the entry for change.<\/li>\n<\/ul>\n<div class=\"codeBox collapsibleBbcode\" data-processed=\"1\">\n<div class=\"codeBoxHeader\">\n<div class=\"codeBoxHeadline\">code<\/div>\n<\/div>\n<\/div>\n<div class=\"codeBox collapsibleBbcode\" data-processed=\"1\">\n<pre class=\"codeBoxCode collapsibleBbcodeOverflow\"><code><span id=\"codeLine_1_com_woltlab_wbb_post_2443063_71e428\" class=\"codeBoxLine\">&quot;Mozilla\/5.0 (Windows NT 5.1; rv:31.0) Gecko\/20100101 Firefox\/31.0&quot;<\/span><\/code><\/pre>\n<\/div>\n<h2>configuration<\/h2>\n<p>As a map we choose now <strong>WB OpenSeaMap<\/strong> out.<\/p>\n<p><span title=\"pasted-from-clipboard.png\">\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3263 size-full\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Kartentyp.png\" alt=\"\" width=\"241\" height=\"226\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Kartentyp.png 241w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Kartentyp-13x12.png 13w\" sizes=\"auto, (max-width: 241px) 100vw, 241px\" \/><\/span><\/p>\n<p>In the area <strong>AtlasContent<\/strong> Now let&#039;s click on NEW and choose <strong>osmdroid GEMF<\/strong> as target format.<\/p>\n<p>First we want to create a small overview map as a test. For this we choose <strong>Zoom levels 8, 10, 12<\/strong> out. For more detailed maps later the\u00a0 <strong>Zoom levels 8, 10, 12, 14, 16<\/strong> to be chosen. There is no nautical chart material available for zoom levels less than 8 and greater than 16. So that the sea chart does not take up too much memory, it is sufficient to select every second zoom level. Intermediate levels are interpolated by AVnav.<\/p>\n<p><a href=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3264 size-full\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection.png\" alt=\"\" width=\"352\" height=\"213\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection.png 352w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection-300x182.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection-18x12.png 18w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Now we choose from the main menu <strong>Selection -&gt; Selection Mode -&gt; Rectangle<\/strong> out.<\/p>\n<p>Navigate to the appropriate section on the map and set the zoom level so that the desired area is visible.<\/p>\n<p>Here I did that for the Netherlands.<\/p>\n<p><a href=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3265 size-full\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_2.png\" alt=\"\" width=\"352\" height=\"236\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_2.png 352w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_2-300x201.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_2-18x12.png 18w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Now use the mouse to mark the rectangle for the map section, define a name and then click on <strong>Add selection<\/strong>. For the first tests, the map area should not be too large, as the map may require a lot of storage space. If you want to get an overview of how much storage space the maps are using, you can use the <a href=\"http:\/\/tools.geofabrik.de\/calc\/\" target=\"_blank\" rel=\"noopener\">Tile Calculator<\/a> use. It quickly becomes clear that a large amount of storage space is required at high zoom levels.<\/p>\n<p><span style=\"color: #ff0000;\">For later, more detailed maps, the <strong>polygon selection<\/strong> be used. In this way, you can better adapt the map data to the actual conditions and do not have to download an unnecessarily large amount of data. This is particularly interesting for rivers and coastal regions. The polygon selection limits the maps to areas that are actually navigated and saves the server capacities that are provided voluntarily and free of charge, but have to be paid for in real life. Therefore, be economical with the creation of maps and only create the maps that you actually need.<br \/>\n<\/span><\/p>\n<p><a href=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3266 size-full\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3.png\" alt=\"\" width=\"352\" height=\"249\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3.png 352w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3-300x212.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Layer_Selection_3-18x12.png 18w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Now you can take the card with you <strong>Create Atlas<\/strong> to be created.<\/p>\n<p>A dialog box opens in which the progress is displayed. After all required tiles have been loaded, the map is created.<\/p>\n<p>In the end it looks like this for my example. About the button <strong>Open Atlas Folder<\/strong> you come directly to the generated map.<\/p>\n<p><a href=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Download.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3262 size-full\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Download.png\" alt=\"\" width=\"352\" height=\"248\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Download.png 352w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Download-300x211.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/Download-18x12.png 18w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>The map in the form of a *.gemf file can now be copied 1:1 to the AvNav system. In addition to the gemf file, the MBTiles data can also be found in the atlas directory. It is sufficient to just copy the *.gemf file to AvNav. To do this, go to the home page and then press the button with the down arrow. Then press the map button. Now you can upload your map to AVnav using the button with the up arrow. You will then see the map in the chart repository.<\/p>\n<p><a href=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2023\/07\/Karte_Hochladen.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5079\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2023\/07\/Karte_Hochladen-300x169.png\" alt=\"\" width=\"400\" height=\"225\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2023\/07\/Karte_Hochladen-300x169.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2023\/07\/Karte_Hochladen-1024x576.png 1024w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2023\/07\/Karte_Hochladen-768x432.png 768w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2023\/07\/Karte_Hochladen-18x10.png 18w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2023\/07\/Karte_Hochladen.png 1366w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Fig.: Mobile Atlas Creator (MOBAC) Mobile Atlas Creator (MOBAC) is a Java open source program that provides offline maps for various navigation devices. As a source for an offline map, Mobile Atlas Creator can use a large number of different online maps, such as OpenStreetMap-based maps and other online map providers. In addition to pure navigation charts for vehicles on land, charts for watercraft are also\u2026 <a href=\"https:\/\/open-boat-projects.org\/en\/offlinekarten-mit-mobac-erstellen\/\" class=\"more-link\">Read more <span class=\"screen-reader-text\">Create offline maps with MOBAC<\/span><\/a><\/p>","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[41,39],"tags":[],"class_list":["post-3257","page","type-page","status-publish","hentry","category-opendata","category-opensource"],"_links":{"self":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/3257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/comments?post=3257"}],"version-history":[{"count":31,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/3257\/revisions"}],"predecessor-version":[{"id":5420,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/3257\/revisions\/5420"}],"wp:attachment":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/media?parent=3257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/categories?post=3257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/tags?post=3257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}