Etiquetar Curvas de Nivel "Principales" y "Secundarias" con Python en QGIS


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

@qgsfunction(args='auto', group='Custom')
def cn(z,  feature, parent):
    a="Secundaria"
    b="Principal"
    if z%125==0:
        return b
    else:
        return a
                  😊QGIS                                               😊CIVIL 3D

Popular posts from this blog

How to fill gaps in SLC-Off Landsat 7 ETM+ Images with QGIS?