x

Re: Worldwide routable Garmin maps: URL REMOVED


Geschrieben von Lambertus (Gast) am 12. August 2012 22:11:36: [flux]

Als Antwort auf: Worldwide routable Garmin maps: URL REMOVED geschrieben von Lambertus (Gast) am 08. März 2009 14:41:

Lambertus wrote:

Analyze, analyze, analyze

Well, after working through thousands of lines of logging again (one map update results in 127.000 lines of logging 🤔), the source of the problem for Paris is found: When Splitter still cannot split the initial Paris tile in at least two subtiles using the parameter max-nodes=100.000 (remember: the initial split is using max-nodes=1.400.000!) the script simply gives up. Apparently Paris is the most complex area in OSM and the script is giving up too early.

Random other tiles are included as tiles for Paris because not everything is cleaned-up after giving up (especially the XML files that contain the tile definitions from the splitting action).

Phiew, finally! 😄

The necessary changes to the scripts are made (lowest max-nodes is now 10.000 but the change to the code wasn't as straight forward as it looks). A new update is underway. Hopefully I didn't introduce new bugs...

BTW, it would increase the speed of the rendering tremendously when Splitter could simply be ordered to output N files instead of providing a max-nodes parameter. This would eliminate potentially up to 23 split attempts on each initial tile (currently the initial split results in about 1900 tiles and the final result consists of about 2700 tiles).