logo separator

[mkgmap-dev] Error in Africa?

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Mon Aug 3 14:00:56 BST 2020

Hi Gerd

I was thinking the problem was in, or at least could be solved
reasonably easily in MapSplitter/MapArea. However this is too late
because all the logic relating to splitting/merging roads and keeping
track of highway ids/counts/restrictions/etc happens in
StyledConverter. All MapSplitter does with roads with lots of points is
to put them in a subdivision on their own. 

The simplest way of fixing this is to stop roads being merged if the
results probably won't fit into a subdivision. It isn't an exact
calculation because the line smoothing filters haven't been run yet.

I've attached a patch to do this.

Ticker

-------------- next part --------------
A non-text attachment was scrubbed...
Name: limitRoadPoints.patch
Type: text/x-patch
Size: 2214 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200803/5fdc67b5/attachment.bin>


More information about the mkgmap-dev mailing list