[Qgis-user] path to basic world map
Stefan Giese (WhereGroup)
stefan.giese at wheregroup.com
Thu Feb 6 02:56:04 PST 2025
I would better use:
|QgsApplication.prefixPath() |
since the qgis environment variable QGIS_PREFIX_PATH is only inside QGIS
avaiable, not from the OS
Am 06.02.2025 um 11:46 schrieb Jacques Beilin via QGIS-User:
>
> Hi,
>
> QGIS_PREFIX_PATH does not seem to be set.
>
> os.getenv('QGIS_PREFIX_PATH') return none.
>
> Regards,
>
> Jacques
> Le 06/02/2025 à 10:38, Stefan Giese (WhereGroup) via QGIS-User a écrit :
>>
>> 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 at 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.giese at wheregroup.com
>> www.wheregroup.com
>> Geschäftsführer:
>> Olaf Knopp, Peter Stamm
>> Amtsgericht Bonn, HRB 9885
>>
>> _______________________________________________
>> QGIS-User mailing list
>> QGIS-User at lists.osgeo.org
>> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
> --
> ______________________________________________________________________________________
>
> <https://www.ensg.eu/Collecte-de-la-taxe-d-apprentissage>
> Jacques BEILIN
> Responsable du Pôle Enseignement en Géodésie, Mathématiques,
> Métrologie et Topométrie
> Responsable pédagogique de la filière ingénieur 3e année
> Photogrammétrie, Positionnement, Mesure de Déformations (PPMD)
> École Nationale des Sciences Géographiques
> Cité Descartes, 6-8 Avenue Blaise Pascal, 77420 Champs-sur-Marne
> ign.fr - ensg.eu - geoportail.fr
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at 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.giese at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250206/aa521112/attachment.htm>
More information about the QGIS-User
mailing list