mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
* add expressions for min and max M and Z - including tests * add my info to contributors.json * Apply suggestions from code review suggestions to help for expressions from Nyall Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com> * Apply suggestions from code review add suggestions to qgsexpressionfunction.cpp from Nyall Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com> * [feature][expressions] - fix expressions Z/M min and max * [feature][expressions] - fix styling Z/M min and max expressions Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
10 lines
430 B
Plaintext
10 lines
430 B
Plaintext
{
|
|
"name": "m_max",
|
|
"type": "function",
|
|
"description": "Returns the maximum m (measure) value of a geometry.",
|
|
"arguments": [ {"arg":"geometry","description":"a geometry containing m values"}],
|
|
"examples": [ { "expression":"m_max( make_point_m( 0,0,1 ) )", "returns":"1"},
|
|
{ "expression":"m_max(make_line( make_point_m( 0,0,1 ), make_point_m( -1,-1,2 ), make_point_m( -2,-2,0 ) ) )", "returns":"2"}
|
|
]
|
|
}
|