Skip to content

Commit

Permalink
adding function help for atlasid and atlasgeometry
Browse files Browse the repository at this point in the history
Signed-off-by: Werner Macho <werner.macho@gmail.com>
  • Loading branch information
mach0 committed Apr 10, 2014
1 parent d1dffdc commit 9864bfc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions resources/function_help/$atlasfeatureid
@@ -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>

15 changes: 15 additions & 0 deletions resources/function_help/$atlasgeometry
@@ -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>

0 comments on commit 9864bfc

Please sign in to comment.