mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
more function help improvements
This commit is contained in:
parent
d66c3072a8
commit
decb98184f
12
resources/function_help/$area-de_DE
Normal file
12
resources/function_help/$area-de_DE
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>Funktion $area</h3>
|
||||
Liefert den Flächeninhalt des aktuellen Objekts
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$area</pre>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
Keine
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>$area → 4711.42</pre>
|
||||
|
12
resources/function_help/$area-en_US
Normal file
12
resources/function_help/$area-en_US
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>$area function</h3>
|
||||
Returns the area size of the current feature.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$area</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
None
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>$area → 42</pre>
|
||||
|
12
resources/function_help/$id-de_DE
Normal file
12
resources/function_help/$id-de_DE
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>Funktion $id</h3>
|
||||
Liefert die Feature-ID des aktuellen Objekts zurück.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$id</pre>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
Keine
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>$id → 42</pre>
|
||||
|
12
resources/function_help/$id-en_US
Normal file
12
resources/function_help/$id-en_US
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>$id function</h3>
|
||||
Returns the feature id of the current row.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$id</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
None
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>$id → 42</pre>
|
||||
|
12
resources/function_help/$length-de_DE
Normal file
12
resources/function_help/$length-de_DE
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>Funktion $length</h3>
|
||||
Liefert die Länge der aktuellen Geometrie.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$length</pre>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
Keine
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>$length → 42.4711</pre>
|
||||
|
12
resources/function_help/$length-en_US
Normal file
12
resources/function_help/$length-en_US
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>$length function</h3>
|
||||
Returns the length the current feature.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$length</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
None
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>$length → 42.4711</pre>
|
||||
|
12
resources/function_help/$perimeter-de_DE
Normal file
12
resources/function_help/$perimeter-de_DE
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>Funktion $perimeter</h3>
|
||||
Liefert den Umfang des aktuellen Objekts zurück.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$perimeter</pre>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
Keine
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>$perimeter → 42</pre>
|
||||
|
12
resources/function_help/$perimeter-en_US
Normal file
12
resources/function_help/$perimeter-en_US
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>$perimeter function</h3>
|
||||
Returns the perimeter length of the current feature.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$perimeter</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
None
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>$perimeter → 42</pre>
|
||||
|
11
resources/function_help/$rownum-de_DE
Normal file
11
resources/function_help/$rownum-de_DE
Normal file
@ -0,0 +1,11 @@
|
||||
<h3>Funktion $rownum</h3>
|
||||
Ergibt die Zeilennummer des aktuellen Datensatzes
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$rownum</pre>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
Keine
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>$rownum → 4711</pre>
|
12
resources/function_help/$rownum-en_US
Normal file
12
resources/function_help/$rownum-en_US
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>$rownum function</h3>
|
||||
Returns the number of the current row.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$rownum</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
None
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>$rownum → 4711</pre>
|
||||
|
12
resources/function_help/$x-de_DE
Normal file
12
resources/function_help/$x-de_DE
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>Funktion $x</h3>
|
||||
Liefert die X-Koordinate des aktuellen Punkts zurück.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$x</pre>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
Keine
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>$x → 42</pre>
|
||||
|
12
resources/function_help/$x-en_US
Normal file
12
resources/function_help/$x-en_US
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>$x function</h3>
|
||||
Returns the x coordinate of the current feature.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$x</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
None
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>$x → 42</pre>
|
||||
|
12
resources/function_help/$y-de_DE
Normal file
12
resources/function_help/$y-de_DE
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>Funktion $y</h3>
|
||||
Liefert die Y-Koordinate des aktuellen Objekts zurück.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$y</pre>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
Keine
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>$y → 42</pre>
|
||||
|
12
resources/function_help/$y-en_US
Normal file
12
resources/function_help/$y-en_US
Normal file
@ -0,0 +1,12 @@
|
||||
<h3>$y function</h3>
|
||||
Returns the y coordinate of the current feature.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>$y</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
None
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>$y → 42</pre>
|
||||
|
2
resources/function_help/Bedingungen-de_DE
Normal file
2
resources/function_help/Bedingungen-de_DE
Normal file
@ -0,0 +1,2 @@
|
||||
<h3>Gruppe Bedingungen</h3>
|
||||
Dies Gruppe enthält Funktionen die mit Bedingungen umgehen.
|
2
resources/function_help/Conditions-en_US
Normal file
2
resources/function_help/Conditions-en_US
Normal file
@ -0,0 +1,2 @@
|
||||
<h3>Conditions Group</h3>
|
||||
This group contains functions that operate on condition.
|
@ -1,2 +0,0 @@
|
||||
<h3>Datum- und Zeitgruppe</h3>
|
||||
Diese Gruppe enthält Funktion zur Verarbeitung von Daten und Zeiten.
|
1
resources/function_help/Datensatz-de_DE
Normal file
1
resources/function_help/Datensatz-de_DE
Normal file
@ -0,0 +1 @@
|
||||
<h3>Gruppe Datensatz</h3>
|
2
resources/function_help/Datum und Zeit-de_DE
Normal file
2
resources/function_help/Datum und Zeit-de_DE
Normal file
@ -0,0 +1,2 @@
|
||||
<h3>Datum- und Zeitgruppe</h3>
|
||||
Diese Gruppe enthält Funktionen zur Verarbeitung von Daten und Zeiten.
|
@ -1,2 +1,2 @@
|
||||
<h3>Geometrie-Gruppe</h3>
|
||||
<h3>Gruppe Geometrie</h3>
|
||||
Dies Gruppe enthält Funktionen für Geometrieobjekten (z.B. Länge und Flächeninhalt).
|
@ -1,2 +1,2 @@
|
||||
<h3>Mathematik-Gruppe</h3>
|
||||
<h3>Gruppe Mathematik</h3>
|
||||
Die Gruppe enthält mathematische Funktionen (z.B. Quadratwurzel, Sinus und Cosinus)
|
@ -1,2 +1,2 @@
|
||||
<h3>Operatoren-Gruppe</h3>
|
||||
<h3>Gruppe Operatoren</h3>
|
||||
Die Gruppe enthält Operatoren (z.B. +, - und *)
|
@ -1 +0,0 @@
|
||||
<h3>Datensatz-Gruppe</h3>
|
@ -1,2 +1,2 @@
|
||||
<h3>Zeichenketten-Gruppe</h3>
|
||||
<h3>Gruppe Zeichenketten</h3>
|
||||
Dies Gruppen enthält Funktionen für Zeichenketten (z.B. Ersetzen und in Großbuchstaben umwandeln).
|
13
resources/function_help/concat-de_DE
Normal file
13
resources/function_help/concat-de_DE
Normal file
@ -0,0 +1,13 @@
|
||||
<h3>Funktion concat()</h3>
|
||||
Fügt Zeichenketten zu einer zusammen.
|
||||
|
||||
<p><h4>Syntax</h4>
|
||||
substr(<i>zeichenkette<i>[, <i>zeichenkette</i>...])</p>
|
||||
|
||||
<p><h4>Argumente</h4>
|
||||
<!-- List args for functions here-->
|
||||
<i> zeichenkette</i> → ist string. Ein Zeichenkette.<br>
|
||||
|
||||
<p><h4>Beispiel</h4>
|
||||
<!-- Show example of function.-->
|
||||
concat('a','b','c','d','e') → 'abcde'</p>
|
13
resources/function_help/concat-en_US
Normal file
13
resources/function_help/concat-en_US
Normal file
@ -0,0 +1,13 @@
|
||||
<h3>concat() function</h3>
|
||||
Concatenates several strings to one.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
concat(<i>string<i>[,<i>string</i>...])
|
||||
|
||||
<h4>Arguments</h4>
|
||||
<!-- List args for functions here-->
|
||||
<i> string</i> → is string. a string.<br>
|
||||
|
||||
<h4>Example</h4>
|
||||
<!-- Show example of function.-->
|
||||
concat('a','b','c','d','e') → 'abcde'
|
15
resources/function_help/regexp_replace-de_DE
Normal file
15
resources/function_help/regexp_replace-de_DE
Normal file
@ -0,0 +1,15 @@
|
||||
<h3>Funktion regexp_replace()</h3>
|
||||
Liefert eine Zeichenkette in der der angegebene reguläre Ausdruck ersetzt wurde.
|
||||
|
||||
<p><h4>Syntax</h4>
|
||||
regexp_replace(<i>a</i>, <i>streiche</i>, <i>setze</i>)
|
||||
|
||||
<p><h4>Argumente</h4>
|
||||
<!-- List args for functions here-->
|
||||
<i>a</i> → ist string. Die ursprüngliche Zeichenkette.<br>
|
||||
<i>streiche</i> → ist string. Die zu ersetzende reguläre Ausdruck.<br>
|
||||
<i>setze</i> → ist string. Die Zeichenkette durch die <i>streiche</i> ersetzt werden soll<br></p>
|
||||
|
||||
<p><h4>Beispiel</h4>
|
||||
<!-- Show example of function.-->
|
||||
<pre>regexp_replace('QGIS SHOULD ROCK','(SHOULD)','DOES (was:\1)')</pre> → 'QGIS DOES (was: SHOULD) ROCK'
|
15
resources/function_help/regexp_replace-en_US
Normal file
15
resources/function_help/regexp_replace-en_US
Normal file
@ -0,0 +1,15 @@
|
||||
<h3>regexp_replace() function</h3>
|
||||
Returns a string with the supplied regular expression replaced.
|
||||
|
||||
<p><h4>Syntax</h4>
|
||||
replace(<i>string,before,after</i>)</p>
|
||||
|
||||
<p><h4>Arguments</h4>
|
||||
<!-- List args for functions here-->
|
||||
<i> string</i> → is string. The start string.<br>
|
||||
<i> before</i> → is string. The string to replace.<br>
|
||||
<i> after</i> → is string. The string that will replace <i>before</i><br></p>
|
||||
|
||||
<p><h4>Example</h4>
|
||||
<!-- Show example of function.-->
|
||||
replace('QGIS SHOULD ROCK','SHOULD','DOES') → 'QGIS DOES ROCK'</p>
|
17
resources/function_help/strpos-de_DE
Normal file
17
resources/function_help/strpos-de_DE
Normal file
@ -0,0 +1,17 @@
|
||||
<h3>Funktion strpos()</h3>
|
||||
Bestimmt die Position eines regulären Ausdrucks in einer Zeichenkette.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
strpos(<i>heuhaufen<i>,<i>nadel</i>)
|
||||
<br><br>
|
||||
Gibt -1 zurück, wenn der Ausdruck nicht gefunden wurde.
|
||||
|
||||
<h4>Argumente</h4>
|
||||
<!-- List args for functions here-->
|
||||
<i> heuhaufen</i> → ist string. Zeichenkette in der gesucht werden soll.<br>
|
||||
<i> nadel</i> → ist string. Der gesuchte reguläre Ausdruck.<br>
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<!-- Show example of function.-->
|
||||
strpos('HELLO WORLD','WORLD') → 6<br>
|
||||
strpos('HELLO WORLD','GOOD BYE') → -1<br>
|
17
resources/function_help/strpos-en_US
Normal file
17
resources/function_help/strpos-en_US
Normal file
@ -0,0 +1,17 @@
|
||||
<h3>strpos() function</h3>
|
||||
Return the index of a regular expression in a string.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
strpos(<i>haystack</i>, <i>needle</i>)
|
||||
<br><br>
|
||||
Returns -1 if the expression isn't found.
|
||||
|
||||
<p><h4>Arguments</h4>
|
||||
<!-- List args for functions here-->
|
||||
<i> haystack</i> → is string. The string that is to be searched.<br>
|
||||
<i> needle</i> → is number. The regular expression to look for.<br>
|
||||
|
||||
<h4>Example</h4>
|
||||
<!-- Show example of function.-->
|
||||
strpos('HELLO WORLD','WORLD') → 6<br>
|
||||
strpos('HELLO WORLD','GOODBYE') → -1<br>
|
11
resources/function_help/xat-de_DE
Normal file
11
resources/function_help/xat-de_DE
Normal file
@ -0,0 +1,11 @@
|
||||
<h3>Funktion xat</h3>
|
||||
Liefert eine X-Koordinate der Geometrie der aktuellen Geometrie.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<code>xat(i)</code>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
<code>i</code> - ist int. X-Koordinate des n-ten Punkts einer Linie (Indizes beginnen bei 0; Negative Werte beziehen sich auf das Linienende)
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>xat(1) → 5</pre>
|
11
resources/function_help/xat-en_US
Normal file
11
resources/function_help/xat-en_US
Normal file
@ -0,0 +1,11 @@
|
||||
<h3>xat function</h3>
|
||||
Retrieves a x coordinate of the current feature
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<code>xat(i)</code>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
<code>i<code> - is int. index of point of a line (indices start at 0; negative values apply to the last index).
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>xat(1) → 5</pre>
|
11
resources/function_help/yat-de_DE
Normal file
11
resources/function_help/yat-de_DE
Normal file
@ -0,0 +1,11 @@
|
||||
<h3>Funktion yat</h3>
|
||||
Liefert eine Y-Koordinate der Geometrie der aktuellen Geometrie.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<code>xat(i)</code>
|
||||
|
||||
<h4>Argumente</h4>
|
||||
<code>i</code> - ist int. Y-Koordinate des n-ten Punkts einer Linie (Indizes beginnen bei 0; Negative Werte beziehen sich auf das Linienende)
|
||||
|
||||
<h4>Beispiel</h4>
|
||||
<pre>yat(1) → 5</pre>
|
11
resources/function_help/yat-en_US
Normal file
11
resources/function_help/yat-en_US
Normal file
@ -0,0 +1,11 @@
|
||||
<h3>yat function</h3>
|
||||
Retrieves a y coordinate of the current feature
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<code>yat(i)</code>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
<code>i<code> - is int. index of point of a line (indices start at 0; negative values apply to the last index).
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>yat(1) → 5</pre>
|
@ -785,7 +785,8 @@ const QList<QgsExpression::FunctionDef> &QgsExpression::BuiltinFunctions()
|
||||
<< FunctionDef( "todate", 1, fcnToDate, QObject::tr( "Conversions" ) )
|
||||
<< FunctionDef( "totime", 1, fcnToTime, QObject::tr( "Conversions" ) )
|
||||
<< FunctionDef( "tointerval", 1, fcnToInterval, QObject::tr( "Conversions" ) )
|
||||
<< FunctionDef( "coalesce", -1, fcnCoalesce, QObject::tr( "Conversions" ) )
|
||||
// conditionals
|
||||
<< FunctionDef( "coalesce", -1, fcnCoalesce, QObject::tr( "Conditionals" ) )
|
||||
// Date and Time
|
||||
<< FunctionDef( "$now", 0, fcnNow, QObject::tr( "Date and Time" ) )
|
||||
<< FunctionDef( "age", 2, fcnAge, QObject::tr( "Date and Time" ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user