Wednesday, 2 March 2016

qgis - How to add the current project path in Print Composer?


I'm trying to demonstrate to my company that we can begin using QGIS in conjunction with (and sometimes even instead of) ArcGIS and MapInfo. I've started setting up some layout templates but have run into a. In Print Composer, is there a way to add the current project path? In ArcGIS, the dynamic text is:




I'd prefer not to have to copy/paste the document path every time I make a map.




EDIT:


To address answer and comments by artwork21 and Nathan W:



I'm using QGIS 2.0.1. I would also like this path to appear to anyone who may need to open the project for editing without modifying their startup.py file.



Answer



As I investigated in this answer it seems anywhere you can use the Expression String Builder you can use the @project_folder variable in at least QGIS 2.16.


Other potentially useful variables can be found in the annotated screenshot below.


variables


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...