<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I would better use: <br>
    </p>
    <pre class="lang-py s-code-block"><code data-highlighted="yes"
    class="hljs language-python"> QgsApplication.prefixPath()

</code></pre>
    <p>since the qgis environment variable QGIS_PREFIX_PATH is only
      inside QGIS avaiable, not from the OS</p>
    <pre class="lang-py s-code-block"></pre>
    <div class="moz-cite-prefix">Am 06.02.2025 um 11:46 schrieb Jacques
      Beilin via QGIS-User:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9cd20c7d-f496-4423-adce-e5139351e5f5@ensg.eu">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p><font face="monospace">Hi, </font></p>
      <p><font face="monospace">QGIS_PREFIX_PATH does not seem to be
          set. <br>
        </font></p>
      <p><font face="monospace">os.getenv('QGIS_PREFIX_PATH') return
          none. <br>
        </font></p>
      <p><font face="monospace">Regards, <br>
        </font></p>
      <font face="monospace">Jacques</font>
      <div class="moz-cite-prefix">Le 06/02/2025 à 10:38, Stefan Giese
        (WhereGroup) via QGIS-User a écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:a08a5ddd-fe93-4626-9eee-3158e36d8ff5@wheregroup.com">
        <meta http-equiv="Content-Type"
          content="text/html; charset=UTF-8">
        <p>Hi,</p>
        <p>may be you can use the qgis environment variable
          QGIS_PREFIX_PATH which is on my computer (Windows11)  <b><a
              class="moz-txt-link-freetext" href="C:/OSGEO4W/apps/qgis"
              moz-do-not-send="true">C:/OSGEO4W/apps/qgis</a></b> and
          the world map is in <a class="moz-txt-link-freetext"
            href="C:/OSGEO4W/apps/qgis" moz-do-not-send="true">C:/OSGEO4W/apps/qgis</a><b>/resources/data/world_map.gpkg</b></p>
        <p>Best regards</p>
        <p>Stefan<br>
        </p>
        <div class="moz-cite-prefix">Am 06.02.2025 um 10:15 schrieb
          Jacques Beilin via QGIS-User:<br>
        </div>
        <blockquote type="cite"
          cite="mid:15e5cee1-3985-4134-adf5-8e5e6a982f25@ensg.eu">
          <meta http-equiv="content-type"
            content="text/html; charset=UTF-8">
          <p><font face="monospace">Hello, <br>
            </font></p>
          <p><font face="monospace">A local world map can be loaded by
              writing "world" in the coordinate box. </font></p>
          <p><font face="monospace">Is there a way to load it from a
              python plugin ? </font></p>
          <p><font face="monospace">It seems that the file is stored in
              /usr/share/qgis/resources/data/world_map.gpkg on linux but
              is there a way to find this path on different platforms ? 
              <br>
            </font></p>
          <p><font face="monospace">Regards</font></p>
          <p><font face="monospace">Jacques<br>
            </font></p>
          <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><br>
            </div>
          </div>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre wrap="" class="moz-quote-pre">_______________________________________________
QGIS-User mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:QGIS-User@lists.osgeo.org" moz-do-not-send="true">QGIS-User@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext"
          href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
          moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext"
          href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
          moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
        </blockquote>
        <pre class="moz-signature" cols="72">-- 
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant

---------------------------------------------
Schon gewusst?

In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software 
und berichten aus unseren Projekten

<a class="moz-txt-link-freetext" href="https://wheregroup.com/blog/"
        moz-do-not-send="true">https://wheregroup.com/blog/</a>
---------------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
        href="mailto:stefan.giese@wheregroup.com" moz-do-not-send="true">stefan.giese@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com"
        moz-do-not-send="true">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885</pre>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre wrap="" class="moz-quote-pre">_______________________________________________
QGIS-User mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
        href="mailto:QGIS-User@lists.osgeo.org" moz-do-not-send="true">QGIS-User@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext"
        href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
        moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext"
        href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
        moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</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;"
            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 du Pôle
                Enseignement 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 wrap="" class="moz-quote-pre">_______________________________________________
QGIS-User mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-User@lists.osgeo.org">QGIS-User@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant

---------------------------------------------
Schon gewusst?

In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software 
und berichten aus unseren Projekten

<a class="moz-txt-link-freetext" href="https://wheregroup.com/blog/">https://wheregroup.com/blog/</a>
---------------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

<a class="moz-txt-link-abbreviated" href="mailto:stefan.giese@wheregroup.com">stefan.giese@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885</pre>
  </body>
</html>