<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">Hi,<br><br>gdalwarp has an option -r that allows min and max and -tr for output resolution. But the problem remains how to assemble the results in a pyramid the way gdaladdo does.<br><br>/Lars S.<br><br>14 oktober 2020 kl. 11:03, "pt test" <<a target="_blank" tabindex="-1" href="mailto:pttest68@gmail.com?to=%22pt%20test%22%20<pttest68@gmail.com>">pttest68@gmail.com</a>> skrev:<br> <blockquote><div><div><div dir="ltr">Hi<div>I have a DEM , DTM , file.<br>I need to create pyramid layers, where the values choses are not the average, but the max value from the resampled area.</div> <div>and the same using min value from the resampled area.</div> <div></div> <div>There is the gdaladdo application.</div> <div>I could not find a mode.</div> <div>Is there some way to do this?</div> <div></div> <div>documentation has these modes</div> <div><pre style='box-sizing: border-box;font-family: "Source Code Pro","Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size: 12px;background-color: rgb(248,248,248);margin-top: 0px;margin-bottom: 0px;padding: 12px;overflow: auto;line-height: 1.5;color: rgb(51,51,51)'><span style="box-sizing: border-box;font-weight: bold">-</span><span style="box-sizing: border-box">r</span> <span style="box-sizing: border-box">{</span><span style="box-sizing: border-box">nearest</span><span style="box-sizing: border-box">,</span><span style="box-sizing: border-box">average</span><span style="box-sizing: border-box">,</span><span style="box-sizing: border-box">gauss</span><span style="box-sizing: border-box">,</span><span style="box-sizing: border-box">cubic</span><span style="box-sizing: border-box">,</span><span style="box-sizing: border-box">cubicspline</span><span style="box-sizing: border-box">,</span><span style="box-sizing: border-box">lanczos</span><span style="box-sizing: border-box">,</span><span style="box-sizing: border-box">average_magphase</span><span style="box-sizing: border-box">,</span><span style="box-sizing: border-box">mode</span><span style="box-sizing: border-box">}</span></pre></div> <div></div> <div>Is there a way to use them. and how?</div> <div>Thanks in advance</div> <div></div> </div></div></div></blockquote> <br><br><signature></signature> </div></body></html>