<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>may be you can use the qgis environment variable QGIS_PREFIX_PATH
      which is on my computer (Windows11)  <b>C:/OSGEO4W/apps/qgis</b>
      and the world map is in C:/OSGEO4W/apps/qgis<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" 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>