<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><font face="monospace">Hi, <br>
      </font></p>
    <p><font face="monospace">Great. Thanks a lot.</font></p>
    <p><font face="monospace">Jacques<br>
      </font></p>
    <div class="moz-cite-prefix">Le 14/05/2025 à 23:07, Even Rouault a
      écrit :<br>
    </div>
    <blockquote type="cite" cite="mid:5c4289f6-8b5c-47f1-a334-890d9bbc6837@spatialys.com">
      
      <p>Hi,</p>
      <p>>>> from osgeo import osr<br>
        >>> osr.GetPROJSearchPaths()<br>
        ['/home/even/.local/share/proj',
        '/home/even/proj/install-proj-master/share/proj',
        '/home/even/proj/install-proj-master/share/proj']<br>
      </p>
      <p>and look up for proj.db in one of the above directories. The
        first one found will be the one used<br>
      </p>
      <p>Even<br>
      </p>
      <div class="moz-cite-prefix">Le 14/05/2025 à 22:59, Jacques Beilin
        via QGIS-Developer a écrit :<br>
      </div>
      <blockquote type="cite" cite="mid:612188c0-14c4-4535-9953-30b543e8a074@ign.fr">
        <pre>Dear colleagues,

I have already sent my question on the qgis-user list but someone told me it should be bette to ask on Qgis-dev. 

I am working on the plugin IdentifProj (<a href="https://plugins.qgis.org/plugins/IdentifProj/" class="moz-txt-link-freetext" moz-do-not-send="true">https://plugins.qgis.org/plugins/IdentifProj/</a>). For the developpement of the plugin I would like to acces to the CRS definition file (proj.db).

Is there a way to locate the proj.db on the system (and precisely the version which is currentely used by qgis) ? I would like to be able to load it from python to get some informations which are not available from QgsCoordinateReferenceSystem class.

Best regards,
Jacques</pre>
        <div class="moz-signature">-- <br>
          <div class="moz-signature"> <span style="color: #93c11a; font-family: Arial; font-size: small;">______________________________________________________________________________________</span>
          </div>
          <div><a href="https://www.ensg.eu/Collecte-de-la-taxe-d-apprentissage" target="_blank" rel="noopener noreferrer" style="font-family: Calibri,sans-serif; font-size: 14.6667px;" moz-do-not-send="true"><span style="font-family: Arial,sans-serif; font-size: small;"><span style="font-size: 9pt;"></span></span></a>
            <div><span style="color: #72787c; font-family: Arial;"><span style="font-size: 13.3333px;">Jacques BEILIN</span></span></div>
            <div><span style="color: #72787c; font-family: Arial;"><span style="font-size: 13.3333px;">Responsable des
                  enseignements en Géodésie, Mathématiques, Métrologie
                  et Topométrie<br>
                </span></span></div>
            <div><span style="color: #72787c; font-family: Arial;"><span style="font-size: 13.3333px;">Responsable pédagogique
                  de la filière ingénieur 3e année Photogrammétrie,
                  Positionnement, Mesure de Déformations (PPMD)</span></span></div>
            <div><span style="background-color: #ffffff;"><span style="color: #808080; font-family: Arial; font-size: small;">École
                  Nationale des Sciences Géographiques</span></span></div>
            <div><span style="background-color: #ffffff;"><span style="color: #808080; font-family: Arial; font-size: small;">Cité
                  Descartes, 6-8 Avenue Blaise Pascal, 77420
                  Champs-sur-Marne</span></span></div>
            <div style="font-family: Calibri; font-size: 15px;"><span style="color: #93c11a; font-family: Arial; font-size: small;"><span style="font-size: 9pt;">ign.fr - ensg.eu -
                  geoportail.fr</span></span> </div>
          </div>
        </div>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:QGIS-Developer@lists.osgeo.org" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <div class="moz-signature">
        <span style="color: #93c11a; font-family: Arial; font-size: small;">______________________________________________________________________________________</span>
      </div>
      <div><a href="https://www.ensg.eu/Collecte-de-la-taxe-d-apprentissage" target="_blank" rel="noopener noreferrer" style="font-family: Calibri,sans-serif; font-size: 14.6667px;"><span style="font-family: Arial,sans-serif; font-size: small;"><span style="font-size: 9pt;"></span></span></a>
        <div><span style="color: #72787c; font-family: Arial;"><span style="font-size: 13.3333px;">Jacques BEILIN</span></span></div>
        <div><span style="color: #72787c; font-family: Arial;"><span style="font-size: 13.3333px;">Responsable des
              enseignements en Géodésie, Mathématiques, Métrologie et
              Topométrie<br>
            </span></span></div>
        <div><span style="color: #72787c; font-family: Arial;"><span style="font-size: 13.3333px;">Responsable pédagogique de
              la filière ingénieur 3e année Photogrammétrie,
              Positionnement, Mesure de Déformations (PPMD)</span></span></div>
        <div><span style="background-color: #ffffff;"><span style="color: #808080; font-family: Arial; font-size: small;">École
              Nationale des Sciences Géographiques</span></span></div>
        <div><span style="background-color: #ffffff;"><span style="color: #808080; font-family: Arial; font-size: small;">Cité
              Descartes, 6-8 Avenue Blaise Pascal, 77420
              Champs-sur-Marne</span></span></div>
        <div style="font-family: Calibri; font-size: 15px;"><span style="color: #93c11a; font-family: Arial; font-size: small;"><span style="font-size: 9pt;">ign.fr - ensg.eu - geoportail.fr</span></span>
        </div>
      </div>
    </div>
    <div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div>
  </body>
</html>