Snippets Collections
[needs more work]

from qgis.core import *
from qgis.gui import *

@qgsfunction(args='auto', group='Custom')
def get_projectcrs(project_crs, feature, parent):
    return QgsCoordinateReferenceSystem(project_crs).description()



get_projectcrs(@project_crs) 
[% format_date( now(),'MM/dd/yyyy')%] Nad83/BC Albers [1:[%round(map_get( item_variables('Map 1'), 'map_scale'),0)%]] Disclaimer: 
star

Thu Jan 21 2021 20:09:50 GMT+0000 (Coordinated Universal Time)

#qgis #maplayout
star

Thu Jan 21 2021 20:02:17 GMT+0000 (Coordinated Universal Time)

#qgis #maplayout

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension