mytourbook / mytourbook

Source code for MyTourbook
http://mytourbook.sourceforge.net
GNU General Public License v2.0
66 stars 17 forks source link

[Feature : 2D Map] Render tracks in a background thread #1384

Open wolfgang-ch opened 3 months ago

wolfgang-ch commented 3 months ago

What is missing ?

tbd

wolfgang-ch commented 3 months ago

After a lot of searching, I found a simple renderer for OSM data, https://github.com/pmlopes/simple-osm-render which looks promising.

The code is very old but finally I could sucessfully run it and it produced these tiles

image

When combining them manually, it looks very good

image

FJBDev commented 3 months ago

That looks very promising indeed, a nice refresh for the MT 2D Map !! 😄

wolfgang-ch commented 3 months ago

After more testing, this tile renderer do not work a I hoped. When increasing the width of a road, the clipping issue at a tile border is visible.

The left side of the image is when the full map is rendered, the right side is when tiles are rendered and afterwards manually glued together

https://github.com/pmlopes/simple-osm-render/issues/2

14 all

wolfgang-ch commented 3 months ago

Now I'm going with plan B:

These will be the advantages compared with now