[mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-03 Thread Patrik Brunner
Hello together, I'm wondering if it would be possible that mkgmap is able to create/convert maps also in the gmap (gmapi) format used for BaseCamp on Windows and Macintosh. Allthough the old image directory style format is still supported at least on Windows BaseCamp with fiddling around in

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-03 Thread Thomas Morgenstern
I see no needs for that. Garmin Mapconverter does this job very well. thomas Am 03.12.2016 um 14:22 schrieb Patrik Brunner: Hello together, I'm wondering if it would be possible that mkgmap is able to create/convert maps also in the gmap (gmapi) format used for BaseCamp on Windows and Macin

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-03 Thread Patrik Brunner
thomas, Unfortunately Garmin Mapconverter does this job very well only on Windows as far as I know there's no Mac version and even less a linux version. As mentioned below: I think it makes sense to have 'one' tool being able to handle all format files (img directory, gmapsupp, gmap) on

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-03 Thread Andrzej Popowski
Hi Patrick, on MacOS you can use JaVaWa MapConverter: http://www.javawa.nl/mapconverter_en.html On both, Linux and MacOS, you can install wine and use many of Garmin's programs for Windows, including MapConverter. -- Best regards, Andrzej ___ mkgmap

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-03 Thread Patrik Brunner
Yes I know, on each platform there are different options it's not the question about how to convert it on the different platforms, there are on each platform several options, but most of the times you have to choose different ways to go, depending on the platform. There's even a cli versio

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-03 Thread Steve Ratcliffe
Hi I'm wondering if it would be possible that mkgmap is able to create/convert maps also in the gmap (gmapi) format used for BaseCamp on Windows and Macintosh. Yes, this seems a reasonable thing to do. In the mkgmap code base there is a python program called gmapi-builder.py in the scripts di

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Patrik Brunner
Steve, 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 mkgma

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Thomas Morgenstern
In tdb file exists such block 0x54. And it must have 20 byte. in your example i see only 18 byte ? Block 0x54 contains CRC sum of the tdb file ( without the 0x54 block) the crc is stored in byte 0x54+5, 0x54+12, 0x54+15, 0x54+20. 0x54+5=Int(nCRCSum / 16777216) 'vByteD 0x54+12=Int((nCRCSum -

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Patrik Brunner
thomas, thanks for the explanation. Source files (map itself and typ files) handed over to gmapi-builder.py have just been created one step before by mkgmap. I've just made the same process with another Perimeter, Switzerland, and the same thing happens. But as stated originally: I'm not s

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Steve Ratcliffe
Hi, thanks for testing. I believe you can ignore that error. On 4 December 2016 10:38:27 GMT+00:00, Patrik Brunner wrote: >thomas, > >thanks for the explanation. > >Source files (map itself and typ files) handed over to gmapi-builder.py > >have just been created one step before by mkgmap. > >I'v

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Carlos Dávila
I've been using gmapi-builder.py for years within my tool chain without such block warning. I don't remember where I got it from nor when, file is dated February 2011. I have placed a copy of it at [1] in case you want to try it. [1] http://mapas.alternativaslibres.es/gmapi-builder.py El 04/12

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Patrik Brunner
Gracias Carlos, I get following error when trying to download it: You don't have permission to access /gmapi-builder.py on this server. Saludos Patrik On 04.12.2016 16:21, Carlos Dávila wrote: I've been using gmapi-builder.py for years within my tool chain without such block warning. I don't

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Greg Troxel
Steve Ratcliffe writes: >> I'm wondering if it would be possible that mkgmap is able to >> create/convert maps also in the gmap (gmapi) format used for BaseCamp on >> Windows and Macintosh. > > Yes, this seems a reasonable thing to do. I would like to see this too. I run mkgmap on a mac, and wa

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Patrik Brunner
Just to let everyone know: I get this 'Unknown Block' Output only when I run gmapi-builder.py with the option -v for verbose. Without -v it's not shown. Would it be possible that others just haven't seen it as they didn't use the verbose option ? Cheers Patrik On 04.12.2016 16:34, Greg Trox

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Carlos Dávila
I don't use -v, so yes, that may be the case. I have changed gmapi-builder permissions, you should be able to download it now El 04/12/16 a las 16:48, Patrik Brunner escribió: Just to let everyone know: I get this 'Unknown Block' Output only when I run gmapi-builder.py with the option -v for

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Patrik Brunner
downloaded... thanks. It looks as you have a version quite similar to the one in the mkgmap repo as it supports the same options. But with some different handling of file encodings. Possibly an 'older' version or an adapted version of the mkgmap repo version. I can't tell you. Verbose option

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Steve Ratcliffe
Hi Any chance ? I'm happy to test whatever is needed. There is now a gmapi branch for developing this. There is an initial version with the following limitations: - Only the default family-id, names etc - No index or typ files etc - There is no option it just always creates an osmmap.gmapi

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Carlos Dávila
El 04/12/16 a las 23:35, Steve Ratcliffe escribió: I notice that the python script does not seem to deal with the overview map. Is that correct? It should work with -b option ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mk

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Steve Ratcliffe
On 04/12/16 22:57, Carlos Dávila wrote: El 04/12/16 a las 23:35, Steve Ratcliffe escribió: I notice that the python script does not seem to deal with the overview map. Is that correct? It should work with -b option I use the -b option and just get the following: $ find OSM\ map.gmapi/ OSM

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Steve Ratcliffe
Oh I see, you are just meant to include the overview map along with the other IMG files as well as the -b option. On 4 December 2016 23:01:35 GMT+00:00, Steve Ratcliffe wrote: >On 04/12/16 22:57, Carlos Dávila wrote: >> El 04/12/16 a las 23:35, Steve Ratcliffe escribió: >>> I notice that the pyt

Re: [mkgmap-dev] Feature Request: mkgmap able to create gmap archive (BaseCamp)

2016-12-04 Thread Carlos Dávila
Right. This is my complete command for gmapi: python gmapi-builder.py -t tmp/$ABR-1${FID}.tdb -b tmp/$ABR-1${FID}.img -i tmp/$ABR-1${FID}.mdx -m tmp/$ABR-1${FID}_mdr.img -s typ/${ABR}-1$FID.TYP tmp/551${FID}*.img tmp/$ABR-1${FID}*.img El 05/12/16 a las 00:30, Steve Ratcliffe escribió: Oh I se