[mkgmap-dev] Split gmapsupp.img
From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Oct 23 08:39:03 BST 2020
Hi Felix and Carlos, sorry, I am a bit lazy here because it's no fun to wait many minutes or hours for a result while my machine is barely usable... My current assumption is this: You use splitter to split e.g. Europe or Asia or Africa. You either split with a given split-file or you let splitter calculate the tiles each time you are splitting. The resulting OSM files are compiled and give a set of tiles, e.g. from 47110001.img to 47113456.img, all located in the same directory. You want to compile one or more gmapsupp files for this set. A single gmapsupp would be created with e.g. java -Xmx4G -jar mkgmap.jar --gmapsupp --no-tdbfile --index --description=MyMap family-id=4711 [... other options] 4711*.img My.TYP but that would be too large. Let's assume the size of all the 4711*.img files is > 4 G and below 6G my simple approach would be something like this: set options=--gmapsupp --no-tdbfile --index --description=MyMap family-id=4711 [... other options] java -Xmx4G -jar mkgmap.jar %options% 47110*.img 47111*.img My.TYP ren gmapsupp.img gmapsupp1.img java -Xmx4G -jar mkgmap.jar %options% 47112*.img 47113*.img My.TYP ren gmapsupp.img gmapsupp2.img This creates 2 files containing all the tiles, each probably < 4G. Does this work? If yes, I have an idea how to change mkgmap. @Felix: My test with MapInstall produced three files for a selection of ~6G, each between 2G and 2.5G. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com> Gesendet: Mittwoch, 21. Oktober 2020 15:50 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Split gmapsupp.img Hi Andrej, great thanks, that seems to work fine. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej at poczta.onet.pl> Gesendet: Mittwoch, 21. Oktober 2020 15:40 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Split gmapsupp.img Hi Gerd, empty usb drive is treated as a SD card, where only single gmapsupp.img is supported. Try to copy \Garmin\GarminDevice.xml from a GPS to pendrive, then MapInstall will treat it as a real GPS. There is other possibility. Select an empty folder on your HDD, unpack there files from attached archive and execute vgps-install.bat. This will create some config for MapInstall, which will use your selected folder as a destination for maps. You can then remove installation files from the folder. -- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Split gmapsupp.img
- Next message: [mkgmap-dev] Split gmapsupp.img
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list