Re: [mkgmap-dev] Using multiple TYP files
0 In article 4ba7d179.7030...@kleineisel.de, 0 Ralf Kleineisel URL:mailto:r...@kleineisel.de (Ralf) wrote: Ralf Creating a gmapsupp.img with several family-IDs does work for me Ralf when I use an options file with the -c option. That's a bit more difficult for me - I'd have to generate it on the fly, as I don't know how many tiles the splitter is going to throw out. Unless there's a way around that? ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
Toby Speight schrieb am 23.03.2010 11:03: That's a bit more difficult for me - I'd have to generate it on the fly, as I don't know how many tiles the splitter is going to throw out. Unless there's a way around that? If you are always splitting the same areas, you can use an area list as parameter for splitter for defining the cuttings (parameter --split-file). I think splitter always outputs such a split file. So I have done once the splitting without the split-file parameter to get such a file, and afterwards I am using always this as input parameter for the following cuttings, so that I always get the same tiles. Gruss Torsten ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
Torsten Leistikow (de_m...@gmx.de) wrote: Toby Speight schrieb am 23.03.2010 11:03: That's a bit more difficult for me - I'd have to generate it on the fly, as I don't know how many tiles the splitter is going to throw out. Unless there's a way around that? If you are always splitting the same areas, you can use an area list as parameter for splitter for defining the cuttings (parameter --split-file). I think splitter always outputs such a split file. So I have done once the splitting without the split-file parameter to get such a file, and afterwards I am using always this as input parameter for the following cuttings, so that I always get the same tiles. Gruss Torsten This also shortens the splitter processing time as it already knows what tiles to create. -- Charlie ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
Torsten Leistikow escribió: Toby Speight schrieb am 23.03.2010 11:03: That's a bit more difficult for me - I'd have to generate it on the fly, as I don't know how many tiles the splitter is going to throw out. Unless there's a way around that? If you are always splitting the same areas, you can use an area list as parameter for splitter for defining the cuttings (parameter --split-file). I think splitter always outputs such a split file. So I have done once the splitting without the split-file parameter to get such a file, and afterwards I am using always this as input parameter for the following cuttings, so that I always get the same tiles. In addition to the above, you can use the template.args file generated by splitter as a base for your -c file. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
On 03/23/2010 05:11 PM, Toby Speight wrote: That's true - until the area density grows too big and it needs resetting. If that happens I just split the offending tile into half by inserting another line in the template file by hand. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
2010/3/22 Toby Speight t.m.speight...@cantab.net: / | $(MKGMAP) --gmapsupp \ | --family-id=1672 --product-id=1672 1672*.img 1672.TYP \ | --family-id=6324 --product-id=6324 6324*.img 6324.TYP \ How best to combine the two? Do it sequentially. $(MKGMAP) --gmapsupp --family-id=1672 --product-id=1672 1672*.img 1672.TYP mv gmapsupp.img gmapsupp1.img $(MKGMAP) --gmapsupp --family-id=6324 --product-id=6324 6324*.img 6324.TYP mv gmapsupp.img gmapsupp2.img $(MKGMAP) --gmapsupp gmapsupp1.img gmapsupp2.img Then you get a gmapsupp.img that contains what you want. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
Hi / | $(MKGMAP) --gmapsupp \ |--family-id=1672 --product-id=1672 1672*.img 1672.TYP \ |--family-id=6324 --product-id=6324 6324*.img 6324.TYP \ That is supposed to work just as you have it. I thought there was even a test for it! I'll investigate. ..Steve ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
0 In article 61af4ce51003220852q2e3efcccta68324526a77...@mail.gmail.com, 0 Christoph Wagner URL:mailto:freemaps@googlemail.com (CW) wrote: CW Do it sequentially. CW CW $(MKGMAP) --gmapsupp --family-id=1672 --product-id=1672 1672*.img 1672.TYP CW mv gmapsupp.img gmapsupp1.img CW $(MKGMAP) --gmapsupp --family-id=6324 --product-id=6324 6324*.img 6324.TYP CW mv gmapsupp.img gmapsupp2.img CW $(MKGMAP) --gmapsupp gmapsupp1.img gmapsupp2.img CW CW Then you get a gmapsupp.img that contains what you want. Ah, I didn't realise you could use a gmapsupp.img as input. Your recipe above works like a dream - many thanks! :-) ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
0 In article 87mxy0e691@balti.ashgrove, 0 Toby Speight URL:mailto:t.m.speight...@cantab.net (Toby) wrote: Toby / Toby | $(MKGMAP) --gmapsupp \ Toby |--family-id=1672 --product-id=1672 1672*.img 1672.TYP \ Toby |--family-id=6324 --product-id=6324 6324*.img 6324.TYP Toby \ Steve That is supposed to work just as you have it. Steve Steve I thought there was even a test for it! Steve I'll investigate. It's a while since I looked at the option parsing code, but IIRC, all the non-file arguments are processed before starting to read any of the files, contrary to the documentation. I could be wrong, though. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Using multiple TYP files
On 03/22/2010 05:36 PM, Toby Speight wrote: It's a while since I looked at the option parsing code, but IIRC, all the non-file arguments are processed before starting to read any of the files, contrary to the documentation. I could be wrong, though. Creating a gmapsupp.img with several family-IDs does work for me when I use an options file with the -c option. Didn't try on the command line, though. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev