<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 class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Thanks Even!</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<p style="margin: 4pt 0cm 0cm;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 9pt; color: rgb(0, 0, 0);"><b>Matt </b></span></p>
<p style="margin: 0cm;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 9pt; color: rgb(0, 0, 0);"></span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><i> </i></span></p>
</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>From:</b> Even Rouault <even.rouault@spatialys.com><br>
<b>Sent:</b> Wednesday, January 31, 2024 12:54<br>
<b>To:</b> Matt.Wilkie <Matt.Wilkie@yukon.ca>; gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org><br>
<b>Subject:</b> [EXT] Re: [gdal-dev] Unknown projection</font>
<div> </div>
</div>
<div>
<p>Matt,</p>
<p>surprisingly or not, the GTiff driver doesn't try to get the SRS from a .prj side car file.<br>
</p>
<p>So just do </p>
<p>gdal_edit.py 047_0001.tif -a_srs "$(cat 047_0001.prj)"</p>
<p>Even<br>
</p>
<div class="x_moz-cite-prefix">Le 31/01/2024 à 20:22, Matt.Wilkie via gdal-dev a écrit :<br>
</div>
<blockquote type="cite">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
div.x_WordSection1
        {}
-->
</style>
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello gdal,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I have a collection of aerial photos for which neither gdal nor arc pro recognize the projection. To my eye the .prj files look ok. Attached txt is gdalinfo v3.8.0 report along with the .prj. I manually formatted the below for readability:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">PROJCS["UTM_07N",</p>
<p class="x_MsoNormal">    GEOGCS["NAD83-CSRS Epoch 2006 (7 Param+Vel)",</p>
<p class="x_MsoNormal">        DATUM["NAD83-CSRS Epoch 2006 (7 Param+Vel)",</p>
<p class="x_MsoNormal">            SPHEROID["GRS 80", 6378137,298.2572221010002],</p>
<p class="x_MsoNormal">            TOWGS84[1.0026,-1.9083,-0.5165, 1.288877171229702e-07, 8.998141921392988e-09, 5.376098909823645e-08, -1.18e-09]],</p>
<p class="x_MsoNormal">        PRIMEM["Greenwich",0],</p>
<p class="x_MsoNormal">        UNIT["degree",0.0174532925199433]</p>
<p class="x_MsoNormal">        ],</p>
<p class="x_MsoNormal">    PROJECTION["Transverse_Mercator"],</p>
<p class="x_MsoNormal">    PARAMETER["latitude_of_origin",0],</p>
<p class="x_MsoNormal">    PARAMETER["central_meridian",-141],</p>
<p class="x_MsoNormal">    PARAMETER["scale_factor",0.9996],</p>
<p class="x_MsoNormal">    PARAMETER["false_easting",500000],</p>
<p class="x_MsoNormal">    PARAMETER["false_northing",0],</p>
<p class="x_MsoNormal">    UNIT["metres",1]</p>
<p class="x_MsoNormal">    ]</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Thanks!</p>
<p class="x_MsoNormal" style="margin-top:4.0pt; line-height:115%; text-autospace:none; vertical-align:middle">
<b><span lang="EN-US" style="font-size:10.0pt; line-height:115%">Matt Wilkie</span></b><span lang="EN-US" style="font-size:10.0pt; line-height:115%"></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.0pt">Geomatics Developer & Administrator</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.0pt">Environment <span style="color:#2E74B5">
|</span> Technology, Innovation and Mapping</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.0pt">T 867-667-8133
<span style="color:#2E74B5">|</span> </span><u><span style="font-size:10.0pt"><a href="http://yukon.ca/" originalsrc="http://yukon.ca/" shash="o4HJtPLu/QGak1wbifQpbCnkFRv1mIBINu/zqMvtCBiUm4EaXO6hwcgTbEAROZDmFbe27IHvD2tUI85JWvw/DR55uKLTNPASWOoluCXNO19/S4cp7i8AUQs+Eho1HTBimj4eVL3a7CQVc/rEzSN9BW6sIL7C/v9a/9ja5ZFcvfw="><span lang="EN-US" style="color:windowtext">Yukon.ca</span></a></span></u></p>
<p class="x_MsoNormal"><i><span style="font-size:10.0pt">Hours: 08:30-16:30, Mon-Wed: Office, Thu: Remote, Fri: Away.</span></i></p>
<p class="x_MsoNormal"> </p>
</div>
<br>
<fieldset class="x_moz-mime-attachment-header"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
gdal-dev mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="x_moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" originalsrc="https://lists.osgeo.org/mailman/listinfo/gdal-dev" shash="Fg3wL1b6ym3oBoMb/AZKVjGNRBY6Z/MlVJzKg4moXsqgD60g8a6P1/Gm/EoVm6orgeInZOCc4k6nhmwLylN6g7QICf+wP6CXxJ/7xmp/XfNXfpbyLLBr/59mEpYQeKR+Cq6sX/E56uiGP8HlrmpbcRFQOvPhUDXPt9tm5KlPK4g=">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="x_moz-signature" cols="72">-- 
<a class="x_moz-txt-link-freetext" href="http://www.spatialys.com/" originalsrc="http://www.spatialys.com/" shash="Sd1Y0Qd9J9nNDsb5Z1swJAkfvTBC+waNbhKc74POEDhIHy48F65WaVWzgmfOqdJpl9iQM09irs2YKpynduDKEcHYa4DdRUCjIgAOUHmE2kaWcD14R8eGlX3cxCLwvEX4MD+SGduNSXHKZsqHUun/vWrVsWIbcCkjK83HtnPjvMA=">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</body>
</html>