<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Gerd</p>
<p>I'm a bit confused when you mentioned value as that seems to
imply a number?</p>
<p>Just to clarify :<br>
</p>
<p>the options are:</p>
<pre wrap="">--dem-interpolation=auto or bilateral or bicubic ?
Nick
</pre>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 24/01/2018 15:10, Gerd Petermann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR08MB0303510331C9D3FB1A5D2A149EE20@VI1PR08MB0303.eurprd08.prod.outlook.com">
<pre wrap="">Hi all,
I like Andrzejs suggestion and created a patch that implements and documents the option like this:
--dem-interpolation=value
Use this option to speciy the method that is used to interpolate
data from hgt raster to the DEM raster. The value bicubic gives the
highest precision but is slower, bilinear is faster but less precise,
it tends to smooth the profile and thus also reduces DEM size compared to
bicubic. The value auto means that bicubic is used where is seems
appropriate according to hgt resolution and dem-dist value, else bilinear
is used. If not given, the default is auto.
Please suggest improvements, else I'll commit that tomorrow.
Gerd
________________________________________
Von: mkgmap-dev <a class="moz-txt-link-rfc2396E" href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk"><mkgmap-dev-bounces@lists.mkgmap.org.uk></a> im Auftrag von Andrzej Popowski <a class="moz-txt-link-rfc2396E" href="mailto:popej@poczta.onet.pl"><popej@poczta.onet.pl></a>
Gesendet: Mittwoch, 24. Januar 2018 14:57
An: <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
Betreff: Re: [mkgmap-dev] DEM: performance with bicubic interpolation
Hi Gerd,
maybe someone will add more input to this discussion, but for me now
following solution make sens: provide option dem-interplation with 3 values:
- bilinear - fast interpolation for all layers,
- bicubic - precise interpolation for all layers,
- auto - default settings - automatically switching between bilinear and
bicubic, depending on DEM and HGT resolution.
--
Best regards
Andrzej
_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></pre>
</blockquote>
<br>
</body>
</html>