Re: [mkgmap-dev] removal of parallel lines

2021-03-08 Thread Gerd Petermann
Hi Mike, the detection of parallel lines isn't easy. The housenumber code contains code to detect this but it fails in some situations (and it works with the high precision points, not with the results of the heavy rounding at lower levels. On the other hand it has to cope with sidewalks and se

[mkgmap-dev] removal of parallel lines

2021-03-08 Thread Mike Baggaley
Hi all, At low resolutions I would like to be able to remove parallel lines so that (for example) only a single motorway carriageway or railway track is shown instead of two or (in the case of the West Coast Main Line) four lines, which due to different Douglas Peucker line simplifications end up

Re: [mkgmap-dev] tile takes very long time to generate

2021-03-08 Thread 7770
Hi. I have uploaded the splitter output http://files.mkgmap.org.uk/download/502/7773.osm.pbf This is not the largest splitted pbf, but it generates the largest img-file. Around 12 MB compared to most other tiles which end up being 4-8 MB. I tested running mkgmap (--max-jobs=1) with this file

[mkgmap-dev] -c option crash

2021-03-08 Thread Mike Baggaley
Hi Gerd, The attached patch fixes a crash if you inadvertently specify a .o5m file after the -c command line argument. Cheers, Mike CommandArgsReader.patch Description: Binary data ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.

Re: [mkgmap-dev] omit items from overview

2021-03-08 Thread Mike Baggaley
Hi Ticker, Yes this does work, but you are right that the test for isOverviewComponent or isOverviewCombined only needs to test for isOverviewComponent and it doesn't need the change to OverviewMapDataSource. Please find an updated patch attached. Cheers, Mike -Original Message- From:

Re: [mkgmap-dev] omit items from overview

2021-03-08 Thread Gerd Petermann
Hi Mike, you lost me. Please describe what you do with -- levels and --overview-levels, how and why. I can't think of any situation where I would want to double the data to occur both in the detail map tiles and the overview map. Gerd Von: mkgmap-dev i

Re: [mkgmap-dev] tile takes very long time to generate

2021-03-08 Thread Mike Baggaley
Hi Karl, The first tile is likely to be generated with only a single thread running whilst memory usage is checked, then the remainder may use both your processors. If there is something about this tile that causes it to take a long time, it may be worth moving it back in the list so that it doesn

Re: [mkgmap-dev] omit items from overview

2021-03-08 Thread Mike Baggaley
Hi Gerd, yes, I have overlapping resolutions for the overview and main map. Cheers, Mike -Original Message- From: Gerd Petermann [mailto:gpetermann_muenc...@hotmail.com] Sent: 07 March 2021 21:56 To: Development list for mkgmap Subject: Re: [mkgmap-dev] omit items from overview Hi Mik

Re: [mkgmap-dev] omit items from overview

2021-03-08 Thread Ticker Berkin
Hi Mike Does this work? There is no information about the tagging when the elements are read back from the ovm_ file. In MapBuilder I think you have to test for isOverviewComponent rather than isOverviewCombined and I don't think changes to OverviewMapDataSource make any difference to anything.