Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Add num_points(geometry) support in expression evaluator
Includes tests and help text.
- Loading branch information
Sandro Santilli
committed
Sep 17, 2015
1 parent
586d59a
commit 55dbc04
Showing
3 changed files
with
22 additions
and
1 deletion.
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,7 @@ | ||
{ | ||
"function": "num_points", | ||
"description": "Returns the number of vertices in a geometry.", | ||
"arguments": [ {"arg":"geom","description":"a geometry"}], | ||
"examples": [ { "expression":"num_points($geometry)", "returns":"number of vertices in $geometry"}] | ||
} | ||
|
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