Hi,

may be you can use the qgis environment variable QGIS_PREFIX_PATH which is on my computer (Windows11) *C:/OSGEO4W/apps/qgis* and the world map is in C:/OSGEO4W/apps/qgis*/resources/data/world_map.gpkg*

Best regards

Stefan

Am 06.02.2025 um 10:15 schrieb Jacques Beilin via QGIS-User:

Hello,

A local world map can be loaded by writing "world" in the coordinate box.

Is there a way to load it from a python plugin ?

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 ?

Regards

Jacques

--
______________________________________________________________________________________
<https://www.ensg.eu/Collecte-de-la-taxe-d-apprentissage>

_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user

--
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

https://wheregroup.com/blog/
---------------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

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

stefan.gi...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to