<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Indeed, this is right.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
My bad..</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Andrew C Aitchison <andrew@aitchison.me.uk><br>
<b>Envoyé :</b> lundi 17 octobre 2022 10:25<br>
<b>À :</b> Nicolas Godet <nicolas.godet@outlook.fr><br>
<b>Cc :</b> gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org><br>
<b>Objet :</b> Re: [gdal-dev] [Doc] gdal_calc.py extent option</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Mon, 17 Oct 2022, Nicolas Godet wrote:<br>
<br>
> Dear Devs,<br>
><br>
> In documentation<<a href="https://gdal.org/programs/gdal_calc.html#cmdoption-extent">https://gdal.org/programs/gdal_calc.html#cmdoption-extent</a>>, extent param description seems a bit odd to me.<br>
><br>
><br>
> union - the extent (bounds) of the output will be the minimal<br>
> rectangle that contains all the input extents.<br>
><br>
> intersect - the extent (bounds) of the output will be the maximal<br>
> rectangle that is contained in all the input extents.<br>
><br>
> Shouldn't it be the other way around?<br>
<br>
I think this *is* the right way round;<br>
"all" can be misunderstood but I can not think of a clearer phrasing,<br>
although "every one of" might help.<br>
<br>
> As I intend to add this option to QGIS gdal_calc window (very useful<br>
> option), I must be sure.<br>
<br>
-- <br>
Andrew C. Aitchison Kendal, UK<br>
andrew@aitchison.me.uk<br>
</div>
</span></font></div>
</body>
</html>