<div dir="ltr">Thanks for the quick response, that worked great.  That is exciting news regarding geotiff 1.1, should simply things a bit</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 15, 2019 at 12:31 PM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</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">On jeudi 15 août 2019 09:52:22 CEST Greif, Jeremiah wrote:<br>
> I recently had a situation where i needed to add a vertical crs to a raster<br>
> file.  I did what have done many times and use *gdal_translate -a_srs<br>
> epsg:6350+5703 *to add the navd88 vertical datum to the raster file.  When<br>
> I read the file to double check my work using gdalinfo i get the folllowing<br>
> results which doesn't include the vertcrs infomation.<br>
> <br>
> [image: gdal_post_vrtcrs.PNG]<br>
> <br>
> When I look at the new raster file in Arc as well as the open source<br>
> tiffinfo I do see that the gdal did in fact write the vertcrs into the<br>
> file.  Why is gdalinfo not reading it though? has something changed in the<br>
> way the tags are written/read with a recent release? <br>
<br>
No, this has always been the behaviour of the GTiff driver. It does write <br>
CompoundCRS, but on reading it only exposes the horizontal part, by default. <br>
This behaviour can be changed by setting the configuratin option/environment <br>
variable GTIFF_REPORT_COMPD_CS to YES<br>
See<br>
<a href="https://gdal.org/drivers/raster/gtiff.html#configuration-options" rel="noreferrer" target="_blank">https://gdal.org/drivers/raster/gtiff.html#configuration-options</a><br>
<br>
Note: for the new geotiff 1.1 specification (currently under vote at OGC), for <br>
a file with geotiff 1.1 version number in it, the Compound CRS will be <br>
reported by default<br>
<br>
Even<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div>Jeremiah Greif</div><div>Geographer</div><div>USGS - NGTOC</div><div>(303) 202-4510</div><div><a href="mailto:jgreif@usgs.gov" target="_blank">jgreif@usgs.gov</a></div></div>