logo separator

[mkgmap-dev] Error in Africa?

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Tue Aug 4 07:26:59 BST 2020

Hi Gerd

In theory yes, but messages in various forums seem to suggest that
creating ways with more than 2000 points causes problems, and the
feature in question has been chopped into multiple ways of ~1700
points.

I estimated the maximum number of points before limits might be
exceeded is 16200.

This case is a bit pathological. I doubt if there are real roads this
long without change of name/speed/class

Ticker

On Mon, 2020-08-03 at 19:52 +0000, Gerd Petermann wrote:
> Hi Ticker,
> whatever Roadmerger does, the same data may be in OSM. There is code
> in Styledconverter to split roads and also later down the chain. 
> 
> Problem should be fixed there.
> Cannot help more until I am back. 
> Cioa 
> Gerd 
> 
> ---- Ticker Berkin schrieb ----
> 
> 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
> 
>  _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list