<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Known issue. See
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/issues/4566#issuecomment-930393920">https://github.com/OSGeo/gdal/issues/4566#issuecomment-930393920</a></p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 11/10/2021 à 16:23, Daniel Jacobs a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:BN1P110MB0708E153FAFB926D1EF68B76DBB59@BN1P110MB0708.NAMP110.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin:0px;font-size:12pt;background-color:rgb(255,
255, 255)">
<pre>I want to convert my DTM geotiff file from height above geoid to height above ellipsoid.</pre>
<pre>I've tried the following command (among numerous similar commands):</pre>
<pre> gdalwarp -overwrite in_dem.tif out_dem.tif -s_srs EPSG:4326+5773 -t_srs EPSG:4979
</pre>
</div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,
255, 255)">
<pre style="background-color:rgb(255, 255, 255)">I have files <code>egm96_15.gtx</code> and <code>us_nga_egma96_15.tif</code> in my <code>/usr/share/proj</code> resource directory, and <code>PROJ_LIB</code> is set to <code>/usr/share/proj</code>.</pre>
<pre style="background-color:rgb(255, 255, 255)">This transform works:</pre>
<pre style="background-color:rgb(255, 255, 255)"> $gdaltransform -s_srs EPSG:4326+5773 -t_srs EPSG:4979<div style="margin:0px"> Enter X Y [Z [T]] values separated by space, and press Return.</div><div style="margin:0px"> 10 20 0</div> 10 20 26.504430770874</pre>
<pre style="background-color:rgb(255, 255, 255)">But the output file of <code>gdalwarp</code> is never different from the input file, no matter what I try. Is it because the file is a DTM instead of a DEM?</pre>
<pre style="background-color:rgb(255, 255, 255)">
</pre>
<pre style="background-color:rgb(255, 255, 255)">Thanks!</pre>
</div>
</div>
<div style="" font-size:9pt;="" font-family:=""
?calibri?,sans-serif;??="">_____________________________________<br>
The information contained in this e-mail and any attachments
from Integrated Solutions for Systems may contain confidential
and/or proprietary information, and is intended only for the
named recipient to whom it was originally addressed. If you are
not the intended recipient, any disclosure, distribution, or
copying of this e-mail or its attachments is strictly
prohibited. If you have received this e-mail in error, please
notify the sender immediately by return e-mail and permanently
delete the e-mail and any attachments.</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>