mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
14 lines
397 B
Plaintext
14 lines
397 B
Plaintext
<h3>attribute function</h3>
|
|
Returns the value of a specified attribute from a feature.
|
|
|
|
<h4>Syntax</h4>
|
|
<pre>attribute( feature, attribute_name )</pre>
|
|
|
|
<h4>Arguments</h4>
|
|
feature → a feature<br />
|
|
attribute_name → name of attribute to be returned
|
|
|
|
<h4>Example</h4>
|
|
<pre>attribute( $currentfeature, 'name' ) → returns value stored in 'name' attribute for the current feature</pre>
|
|
|