<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Steve,<br>
<br>
I've downloaded both versions of gmapi-builder.py, the one from
bitbucket and the one from the mkgmap code base. They're bit
different and I couldn't find a version number when checking
quickly, but only the mkgmap version supports -i for mdx files.
Therefore I continued with the mkgmap codebase version only.<br>
<br>
The tool runs through and creates a loadable gmap directory for
BaseCamp (tested only on Windows).<br>
<br>
But it also give out an 'error' or 'warning' about an unknown block,
possibly to be checked further when implementing in mkgmap:<br>
<blockquote><tt>Unknown Block: 54, length: 20,
'\x00\x00\xf7\x00\x00\x00\x00\x00\x00j\x00\x00\x99\x00\x00\x00\x00`\x00\x00'</tt><br>
</blockquote>
Attached the complete command output ran with -v.... please ignore
the copyright/license output... the strange content is testing stuff
from another construction area, as you know... license information
and unicode ;-)<br>
<br>
Testing inside this construction area will be next on my list for
today...<br>
<br>
Thanks and regards<br>
Patrik<br>
<br>
<div class="moz-cite-prefix">On 03.12.2016 23:26, Steve Ratcliffe
wrote:<br>
</div>
<blockquote
cite="mid:c8249799-521b-eeaf-7c95-00bec6efcb5c@parabola.me.uk"
type="cite">Hi
<br>
<br>
<blockquote type="cite">I'm wondering if it would be possible that
mkgmap is able to
<br>
create/convert maps also in the gmap (gmapi) format used for
BaseCamp on
<br>
Windows and Macintosh.
<br>
</blockquote>
<br>
Yes, this seems a reasonable thing to do.
<br>
<br>
In the mkgmap code base there is a python program called
<br>
gmapi-builder.py in the scripts directory.
<br>
<br>
See also <a class="moz-txt-link-freetext" href="https://bitbucket.org/berteun/gmapibuilder/overview">https://bitbucket.org/berteun/gmapibuilder/overview</a>
<br>
and <a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Gmapibuilder">http://wiki.openstreetmap.org/wiki/Gmapibuilder</a>.
<br>
<br>
This is a converter, but should work on all platforms with python
<br>
installed, or could be made to do so...
<br>
The first step is to verify that it works; then it should
<br>
be easy enough to implement within mkgmap itself.
<br>
<br>
..Steve
<br>
_______________________________________________
<br>
mkgmap-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
<br>
</blockquote>
<br>
</body>
</html>