Which options apply when.

Hi. I am trying to understand how i can minimise the number of runs over the same data by running 1. splitter. 2. mkgmap to compile map tiles. 3. mkgmap to combine tiles into a gmapsupp.img file, possibly adding a TYP file. Say now that i want to create a few different maps from the same data. Splitting once looks fine for all cases. Applying styles (for lines, polygons, points) happens in step 2. But how about creating indices (--net, --index, --split-name-index, --road- name-config=filename)? Is that part of second step or can it be pushed to third step? Would it make any difference in processing time? How about using the same tiles, but applying different TYP to each created gmapsupp.img? Will that work well at step 3 given that different --mapname=name are set or will that not work well when placing multiple img files on the same device because something else is missing from an earlier step? It would be great if documentation could give some hints to when the various options are applied or when they can be best applied. Regards Karl

Hi Karl,
But how about creating indices (--net, --index, --split-name-index, --road-name-config=filename)?
--net is about putting address data into *.img tiles, so this is your step 2. Others are about creating index file *_mdr.img, this is done in step 3.
How about using the same tiles, but applying different TYP to each created gmapsupp.img?
TYP is combined with *.img, you do it in step 3. You can add any TYP to any set of *img. Technically TYP is linked to img by FID/ProductCode and family-id/product-id. Probably mkgmap fills FID/PID into TYP file in step 3, but I have no experience with this process.
It would be great if documentation could give some hints to when the various options are applied or when they can be best applied.
You can simply create a config file with all options and use it in all stages. -- Best regards, Andrzej

Hi Karl, most options are used for calculating the content of the tiles. Thus they have no effect when used in one of the combiners. I think the most confusing option is --description. Its value is used for single tiles as well as the gmapsupp.img and it is used by splitter in the generated template.args file A few options have no effect on the content of the tiles, they are only used in combiners. I think it would be good to mark those. Here is my list (in order of appearance in the help) of options that should not change the content of a single tile: - all "Information options" --gmapsupp (a combiner option) --gmapi (a combiner option) --output-dir --index (a combiner option) --split-name-index (influences content of global index) --mdr7-excl (influences content of global index) --mdr7-del (influences content of global index) --poi-excl-index (influences content of global index) - all "Overview map options" , they are all combiner options --list-styles (reporting, ignored by combiners) --check-styles (reporting, ignored by combiners) --area-name (a combiner option) --max-jobs (performance, ignored by combiners) --keep-going (control flow) --check-roundabouts (it should only report) --check-roundabout-flares (it should only report) --max-flare-length-ratio (reporting, ignored by combiners) --report-similar-arcs (reporting, ignored by combiners) --report-dead-ends (reporting, ignored by combiners) --dead-ends (reporting, ignored by combiners) --nsis (a combiner option) --tdbfile (a combiner option) --show-profiles (a combiner option) --hide-gmapsupp-on-pc (a combiner option) --verbose (reporting) Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej@poczta.onet.pl> Gesendet: Mittwoch, 4. November 2020 00:30 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Which options apply when. Hi Karl,
But how about creating indices (--net, --index, --split-name-index, --road-name-config=filename)?
--net is about putting address data into *.img tiles, so this is your step 2. Others are about creating index file *_mdr.img, this is done in step 3.
How about using the same tiles, but applying different TYP to each created gmapsupp.img?
TYP is combined with *.img, you do it in step 3. You can add any TYP to any set of *img. Technically TYP is linked to img by FID/ProductCode and family-id/product-id. Probably mkgmap fills FID/PID into TYP file in step 3, but I have no experience with this process.
It would be great if documentation could give some hints to when the various options are applied or when they can be best applied.
You can simply create a config file with all options and use it in all stages. -- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
7770
-
Andrzej Popowski
-
Gerd Petermann