<div dir="ltr"><div dir="ltr">Thanks Andrzej for the patch. <div>It produces better results in about 2/3 of cases, and worse in about 1/3 of cases for resolution 23. So overall it's an improvement, and at least for compiling contourlines I didn't notice a significant difference in compile time. I could test this more in detail also against normal map data if needed...</div><div>Using <b style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">--simplifyContoursEpsilon</b><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">= in phyghtmap helps a bit too, especially for resolution 24. However it runs super slow. It's like 1-30 times as much time, if not more (except for a value of 0.0 which is not changing the maps at all, and just making the .pbf file 10% smaller).<br></span></div><div><br></div><div>This doesn't solve phyghtmap not using b-spline interpolation. That would improve even more (at least up to resolution 23, for resolution 22 maybe this patch matters more). In general if using 20m equidistance I feel in most cases it's good enough to compile contourlines only starting from resolution 23, much faster, less data just of course in very steep areas problematic. For 10m equidistance however it kinda means also going for resolution 24, else the improvement from 20m to 10m is more of a nuisance.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Apr 2021 at 03:41, Andrzej Popowski <<a href="mailto:popej@poczta.onet.pl" target="_blank">popej@poczta.onet.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Gerd,<br>
<br>
I don't observe any significant differences in compilation. But to make <br>
it more optimized, we can put SizeFilter before DouglasPeuckerFilter. I <br>
have attached a second patch here.<br>
<br>
There is a difference in results. See pictures with DouglasPeuckerFilter <br>
after RoundCoordsFilter and new version with DouglasPeuckerFilter <br>
before. This is for 22-bit resolution, so effects are probably more clear.<br>
<br>
-- <br>
Best regards,<br>
Andrzej<br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div><br></div></div></div></div></div></div>