[mkgmap-dev] Error in Africa?
From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Aug 3 20:52:55 BST 2020
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200803/1925f5f2/attachment.html>
- Previous message: [mkgmap-dev] Error in Africa?
- Next message: [mkgmap-dev] Error in Africa?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list