-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add expression functions for bounding box (bounds), bounding box widt…
…h & height (bounds_width/bounds_height), and min/max x/y coordinates (xmin/xmax/ymin/ymax)
- Loading branch information
1 parent
c305c2f
commit 2ce7416
Showing
9 changed files
with
173 additions
and
6 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,12 @@ | ||
<h3>bounds function</h3> | ||
Returns a geometry which represents the bounding box of an input geometry. Calculations are in the Spatial Reference System of this Geometry. | ||
|
||
<h4>Syntax</h4> | ||
<pre>bounds(geom)</pre> | ||
|
||
<h4>Arguments</h4> | ||
geom → a geometry | ||
|
||
<h4>Example</h4> | ||
<pre> bounds($geometry) → returns bounding box of $geometry</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,12 @@ | ||
<h3>bounds_height function</h3> | ||
Returns the height of the bounding box of a geometry. Calculations are in the Spatial Reference System of this Geometry. | ||
|
||
<h4>Syntax</h4> | ||
<pre>bounds_height(geom)</pre> | ||
|
||
<h4>Arguments</h4> | ||
geom → a geometry | ||
|
||
<h4>Example</h4> | ||
<pre> bounds_height($geometry) → returns height of bounding box of $geometry</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,12 @@ | ||
<h3>bounds_width function</h3> | ||
Returns the width of the bounding box of a geometry. Calculations are in the Spatial Reference System of this Geometry. | ||
|
||
<h4>Syntax</h4> | ||
<pre>bounds_width(geom)</pre> | ||
|
||
<h4>Arguments</h4> | ||
geom → a geometry | ||
|
||
<h4>Example</h4> | ||
<pre> bounds_width($geometry) → returns width of bounding box of $geometry</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,12 @@ | ||
<h3>xmax function</h3> | ||
Returns the maximum x coordinate of a geometry. Calculations are in the Spatial Reference System of this Geometry. | ||
|
||
<h4>Syntax</h4> | ||
<pre>xmax(geom)</pre> | ||
|
||
<h4>Arguments</h4> | ||
geom → a geometry | ||
|
||
<h4>Example</h4> | ||
<pre> xmax($geometry) → returns maximum x coordinate of $geometry</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,12 @@ | ||
<h3>xmin function</h3> | ||
Returns the minimum x coordinate of a geometry. Calculations are in the Spatial Reference System of this Geometry. | ||
|
||
<h4>Syntax</h4> | ||
<pre>xmin(geom)</pre> | ||
|
||
<h4>Arguments</h4> | ||
geom → a geometry | ||
|
||
<h4>Example</h4> | ||
<pre> xmin($geometry) → returns minimum x coordinate of $geometry</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,12 @@ | ||
<h3>ymax function</h3> | ||
Returns the maximum y coordinate of a geometry. Calculations are in the Spatial Reference System of this Geometry. | ||
|
||
<h4>Syntax</h4> | ||
<pre>ymax(geom)</pre> | ||
|
||
<h4>Arguments</h4> | ||
geom → a geometry | ||
|
||
<h4>Example</h4> | ||
<pre> ymax($geometry) → returns maximum y coordinate of $geometry</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,12 @@ | ||
<h3>ymin function</h3> | ||
Returns the minimum y coordinate of a geometry. Calculations are in the Spatial Reference System of this Geometry. | ||
|
||
<h4>Syntax</h4> | ||
<pre>ymin(geom)</pre> | ||
|
||
<h4>Arguments</h4> | ||
geom → a geometry | ||
|
||
<h4>Example</h4> | ||
<pre> ymin($geometry) → returns minimum y coordinate of $geometry</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
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