Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding function help for atlasid and atlasgeometry
Signed-off-by: Werner Macho <werner.macho@gmail.com>
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<h3>$atlasfeatureid function</h3> | ||
Returns the feature id of the current row while using atlas. | ||
This enables you to use features of atlas in rules | ||
and for example show or hide features based on their id. | ||
|
||
<h4>Syntax</h4> | ||
<pre>$atlasfeatureid</pre> | ||
|
||
<h4>Arguments</h4> | ||
None | ||
|
||
<h4>Example</h4> | ||
<pre>$atlasfeatureid = $id</pre> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<h3>$atlasgeometry function</h3> | ||
Returns the geometry of the current feature iterated in atlas. | ||
Can be used for rule based display of geometry when using atlas. | ||
For example to only show geometries of other layers when their geometry | ||
intersects the iterated geometry of features using atlas. | ||
|
||
<h4>Syntax</h4> | ||
<pre>$atlasgeometry</pre> | ||
|
||
<h4>Arguments</h4> | ||
None | ||
|
||
<h4>Example</h4> | ||
<pre> intersects( $atlasgeometry, $geometry ) </pre> | ||
|