Snippets Collections
layer = iface.activeLayer()

for feat in layer.getFeatures():
    if feat["index"] > "0":
        print(feat["index"])
[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: 
replace("field",'find value','replace value')
buffer(
smooth ($geometry, 20
       ,200))
star

Tue Oct 26 2021 18:16:57 GMT+0000 (Coordinated Universal Time) https://gis.stackexchange.com/questions/228975/selecting-new-records-using-values-inside-previous-selected-rows-in-qgis

#python #qgis
star

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

#qgis #maplayout
star

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

#qgis #fieldcalculator
star

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

#qgis #maplayout
star

Thu Jan 21 2021 19:59:14 GMT+0000 (Coordinated Universal Time)

#qgis #fieldcalculator
star

Fri Jan 08 2021 21:04:37 GMT+0000 (Coordinated Universal Time)

#qgis #geometrygenerator

Save snippets that work with our extensions

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