<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello, <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I am using GDAL 3.6.2 on Windows 11 and am having problems with the following error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have set as environment variable PROJ_LIB= “D:\MDT\V9\bin\gdal\gdal_latest\share” and PROJ_DATA= “D:\MDT\V9\bin\gdal\gdal_latest\share”, as user variable and in the system variable, but it still doesn't work and the
file proj.db exits in D:\MDT\V9\bin\gdal\gdal_latest\share .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">D:\MDT\V9\bin\gdal\gdal_latest\x64>gdalwarp -s_srs EPSG:4326 -t_srs EPSG:25831 -r near -of GTiff C:\Users\elena\Downloads\D37531385_0101_DTM.asc C:/Users/elena/Downloads/D37531385_0101_DTM_25831_qgis_.tif<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR 1: Translating source or target SRS failed:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">EPSG:4326<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">The funny thing is that I have the same version of GDAL installed on my computer using Anaconda3, to do tests, and from the anaconda directory it works for me, and if I look in the environment variables I don't see any
path that refers to where Anaconda has the Proj.db. Is there another way to set the PROJ_LIB path besides adding an environment variable? Is there any way to know where the PROJ_LIB is looking for my version of GDAL?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal">C:\Users\elena\Anaconda3\envs\mygdal\Library\bin>gdalwarp -s_srs EPSG:4326 -t_srs EPSG:25831 -r near -of GTiff C:\Users\elena\Downloads\D37531385_0101_DTM.asc C:/Users/elena/Downloads/D37531385_0101_DTM_25831_qgis_.tif<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Creating output file that is 1003P x 1201L.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Processing C:\Users\elena\Downloads\D37531385_0101_DTM.asc [1/1] : 0Using internal nodata values (e.g. -9999) for image C:\Users\elena\Downloads\D37531385_0101_DTM.asc.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Copying nodata values from source C:\Users\elena\Downloads\D37531385_0101_DTM.asc to destination C:/Users/elena/Downloads/D37531385_0101_DTM_25831_qgis_.tif.<o:p></o:p></span></p>
<p class="MsoNormal">...10...20...30...40...50...60...70...80...90...100 - done.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you and regards<o:p></o:p></p>
</div>
<hr>
<table style="HEIGHT: 50px; WIDTH: 473px">
<tbody>
<tr>
<td valing="top">
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial" align="right"><img border="0" src="https://www.aplitop.com/descargas/firma1.jpg"></p></td>
<td style="FONT-SIZE: 12pt; HEIGHT: 25px; FONT-FAMILY: Times New Roman; WIDTH: 330px" valign="top">
<div style="LINE-HEIGHT: 13px" align="left"><span style="FONT-SIZE: 9pt; FONT-FAMILY: Myriad Pro, Open Sans, Arial"><strong>Elena Ruiz </strong></span><br><span style="FONT-SIZE: 7pt; FONT-FAMILY: Myriad Pro, Open Sans, Arial">Sofware Development & Technical Support<br></span><span style="FONT-SIZE: 7pt; FONT-FAMILY: Myriad Pro, Open Sans, Arial">Tel.
+34 952 43 97 71 <br>eruiz@aplitop.com<br>Sumatra, 9 - 29190 Málaga (Spain)<br></span><span style="FONT-SIZE: 7pt; FONT-FAMILY: Myriad Pro, Open Sans, Arial"><strong>www.aplitop.com<br><br><a class="socialLink" href="https://www.facebook.com/AplitopSL/"><img class="socialLink" style="HEIGHT: 15px; WIDTH: 15px" border="0" src="cid:SocialLink_Facebook_32x32_a745adb8-c250-4372-8480-e77f503dad3d.png" width="15" height="15"></a> <a class="socialLink" href="https://twitter.com/aplitop"><img class="socialLink" style="HEIGHT: 15px; WIDTH: 15px" border="0" src="cid:SocialLink_Twitter_32x32_858247f6-9d4a-4740-a6b3-9b5ebfd98a97.png" width="15" height="15"></a> <a class="socialLink" href="https://www.linkedin.com/company/aplitop"><img class="socialLink" style="HEIGHT: 15px; WIDTH: 15px" border="0" src="cid:SocialLink_Linkedin_32x32_154d63de-bf68-468f-9eb0-ffed102fac77.png" width="15" height="15"></a> <a class="socialLink" href="https://www.youtube.com/user/aplitop"><img class="socialLink" style="HEIGHT: 15px; WIDTH: 15px" border="0" src="cid:SocialLink_Youtube_32x32_0dea15dd-3774-4086-be9d-f62560b70c86.png" width="15" height="15"></a></strong></span></div></td></tr></tbody></table>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span style="FONT-SIZE: 6pt; FONT-FAMILY: Myriad Pro">In accordance with the
provisions of the European Regulation of Data Protection 2016/679 (Reglamento
Europeo de Protección de Datos 2016/679), we inform you that the data and the
information you provide us through this medium will be used by APLITOP, S.L.,
with C.I.F. B-92543396 and with address at C / Sumatra, 9, Malaga, 29190, in
order to answer your questions and inform you about our products. The data
provided will be kept as long as it does not request its cessation and will not
be transferred to third parties except in cases where there is a legal
obligation. You have the right to access your personal data, correct inaccurate
data or request its deletion when the data is no longer necessary for the
purposes that were collected, as well as any rights recognized in the RGPD
2016/679<br></span><a href="https://www.aplitop.com/New/en/443/publication-of-point-clouds-on-web" title=""></a><span style="FONT-SIZE: 6pt; FONT-FAMILY: Myriad Pro"><br></span></p><p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span style="FONT-SIZE: 6pt; FONT-FAMILY: Myriad Pro"><br></span><a href="https://www.aplitop.com/New/en/438/tcpmdt-v9-is-here" title=""></a><a href="https://www.aplitop.com/Event/en/429/aplitop-at-intergeo-2022-essen" title=""></a><span style="FONT-SIZE: 6pt; FONT-FAMILY: Myriad Pro"><br><br><a title="" href="https://www.aplitop.com/Event/en/358/intergeo-2019"></a><br><br></span></p>
</body>
</html>